private static void RegisterQuestGiver(MLQuest quest, Type questerType) { if (!QuestGivers.TryGetValue(questerType, out List <MLQuest> questList)) { QuestGivers[questerType] = questList = new List <MLQuest>(); } questList.Add(quest); }
public static List <MLQuest> FindQuestList(Type questerType) => QuestGivers.TryGetValue(questerType, out List <MLQuest> result) ? result : EmptyList;