Esempio n. 1
0
        public static SkillBase GetSkill(int ID, string ModID = "")
        {
            if (!LoadedCustomModClasses)
            {
                TryLoadingCustomClasses();
            }
            if (ModID == "")
            {
                ModID = mod.Name;
            }
            ModContentContainer container;

            if (!ModContentList.ContainsKey(ModID))
            {
                container = new ModContentContainer(ModID);
                ModContentList.Add(ModID, container);
            }
            else
            {
                container = ModContentList[ModID];
            }
            return(container.GetSkillBase(ID));
        }
Esempio n. 2
0
 public void AddModContent(Mod mod, ModContentContainer container)
 {
     ModContentList.Add(mod.Name, container);
 }