예제 #1
0
        public void Load()
        {
            if (!loaded)
            {
                loaded = true;
            }
            else
            {
                return;
            }


            WarriorXlsData = new WarriorConfig("Hero", "ID");
            WarriorXlsData.Load();

            SkillXlsData = new SkillConfig("Skill", 10001, 19999);
            SkillXlsData.Load();

            ExpSetXlsData = new XlsData("ExpSet", "Lv");
            ExpSetXlsData.Load();

            NatureXlsData = new NatureConfig("Nature", "ID");
            NatureXlsData.Load();

            AvatarXlsData = new XlsData("Avatar", "ID");
            AvatarXlsData.Load();

            GradeSetupXlsData = new GradeSetupConfig("GradeSetup", "ID");
            GradeSetupXlsData.Load();

            BuffXlsData = new XlsData("Buff", "ID");
            BuffXlsData.Load();

            LevelXlsData = new LevelConfig("Level", 1001, 9999);
            LevelXlsData.Load();

            LevelNpcXlsData = new LevelNpcConfig("LevelSet", 1001, 9999);
            LevelNpcXlsData.Load();

            LevelBgXlsData = new LevelBgConfig("LevelScene", 1001, 9999);
            LevelBgXlsData.Load();
        }
예제 #2
0
        public void Load()
        {
            if (!loaded)
                loaded = true;
            else
                return;


            WarriorXlsData = new WarriorConfig("Hero", "ID");
            WarriorXlsData.Load();

            SkillXlsData = new SkillConfig("Skill", 10001, 19999);
            SkillXlsData.Load();

            ExpSetXlsData = new XlsData("ExpSet", "Lv");
            ExpSetXlsData.Load();

            NatureXlsData = new NatureConfig("Nature", "ID");
            NatureXlsData.Load();

            AvatarXlsData = new XlsData("Avatar", "ID");
            AvatarXlsData.Load();

            GradeSetupXlsData = new GradeSetupConfig("GradeSetup", "ID");
            GradeSetupXlsData.Load();

            BuffXlsData = new XlsData("Buff", "ID");
            BuffXlsData.Load();

            LevelXlsData = new LevelConfig("Level", 1001, 9999);
            LevelXlsData.Load();

            LevelNpcXlsData = new LevelNpcConfig("LevelSet", 1001, 9999);
            LevelNpcXlsData.Load();

            LevelBgXlsData = new LevelBgConfig("LevelScene", 1001, 9999);
            LevelBgXlsData.Load();
        }