public static CharacterModel LoadMonsterData(string id, int level) { if (id == null || id.Length == 0) { return(null); } CharacterModel monster = XmlLoader.LoadFromXmlResource <CharacterModel>("Xml/Monster/" + id); monster.level = level; monster.name = "Lv. " + level + " " + monster.name; MonsterLevelUp(monster); return(monster); }
public static DungeonInfo DungeonLoad(string Id) { return(XmlLoader.LoadFromXmlResource <DungeonInfo>("Xml/Dungeon/" + Id)); }
public ActiveSkillManager() { list = XmlLoader.LoadFromXmlResource <ActiveSkillList>("Xml/ActiveSkills"); list.GenerateDictionary(); Debug.Log("Successfully loaded: " + list.list.Count); }
public TextManager() { list = XmlLoader.LoadFromXmlResource <TextModelList>("Xml/TextEN"); list.GenerateDictionary(); }
public ItemManager() { itemList = XmlLoader.LoadFromXmlResource <ItemModelList>("Xml/Item"); itemList.GenerateDictionary(); Debug.Log("Successfully loaded items: " + itemList.list.Count); }
public DungeonManagerNew(string Id) { dungeonInfo = XmlLoader.LoadFromXmlResource <DungeonInfoNew>("Xml/Dungeon/" + Id);; }
public PassiveManager() { list = XmlLoader.LoadFromXmlResource <PassiveSkillList>("Xml/PassiveSkills"); list.GenerateDictionary(); }
public DungeonSelectManager() { model = XmlLoader.LoadFromXmlResource <DungeonSelectModel>("Xml/DungeonList"); }