Questionable/QuestPaths/AssemblyQuestLoader.cs

17 lines
452 B
C#
Raw Normal View History

2024-06-14 11:37:33 +02:00
using System.Collections.Generic;
2024-07-16 10:54:47 +02:00
using System.Diagnostics.CodeAnalysis;
2024-06-14 11:37:33 +02:00
using Questionable.Model.V1;
2024-06-01 22:01:50 +02:00
namespace Questionable.QuestPaths;
2024-07-16 10:54:47 +02:00
[SuppressMessage("ReSharper", "PartialTypeWithSinglePart", Justification = "Required for RELEASE")]
2024-06-14 11:37:33 +02:00
public static partial class AssemblyQuestLoader
2024-06-01 22:01:50 +02:00
{
2024-07-15 03:05:37 +02:00
public static IReadOnlyDictionary<ushort, QuestRoot> GetQuests() =>
#if RELEASE
Quests;
#else
new Dictionary<ushort, QuestRoot>();
#endif
2024-07-15 03:05:37 +02:00
}