Пример #1
0
 public static bool ReadFile(string location, CVSReader reader)
 {
     CVSReader.Init();
     XBinaryReader.Init();
     XInterfaceMgr.singleton.AttachInterface <IResourceHelp>(XCommon.singleton.XHash("XResourceHelper"), XResources.singleton);
     return(XResourceLoaderMgr.singleton.ReadFile(location, reader));
 }
Пример #2
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Compose_compose.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]             row = reader.GetRow(r);
            ComposeComposeConfig ac  = ConfigProcess(row) as ComposeComposeConfig;
            configs.Add(ac.ID, ac);
        }
    }
Пример #3
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Thing_collect.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]           row = reader.GetRow(r);
            ThingCollectConfig ac  = ConfigProcess(row) as ThingCollectConfig;
            configs.Add(ac.id, ac);
        }
    }
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Attribute_suppress.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[] row = reader.GetRow(r);
            AttributeSuppressConfig ac = ConfigProcess(row) as AttributeSuppressConfig;
            configs.Add(ac.maxLvlDiff, ac);
        }
    }
Пример #5
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Duplicate_group.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]             row = reader.GetRow(r);
            DuplicateGroupConfig ac  = ConfigProcess(row) as DuplicateGroupConfig;
            configs.Add(ac.id, ac);
        }
    }
Пример #6
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Srvlist_server.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]            row = reader.GetRow(r);
            SrvlistServerConfig ac  = ConfigProcess(row) as SrvlistServerConfig;
            configs.Add(ac.id, ac);
        }
    }
Пример #7
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Teleport_teleport.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[] row = reader.GetRow(r);
            TeleportTeleportConfig ac = ConfigProcess(row) as TeleportTeleportConfig;
            configs.Add(ac.teleportID, ac);
        }
    }
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Randomname_manthird.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[] row = reader.GetRow(r);
            RandomnameManthirdConfig ac = ConfigProcess(row) as RandomnameManthirdConfig;
            configs.Add(ac.id, ac);
        }
    }
Пример #9
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Attribute_convert.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[] row = reader.GetRow(r);
            AttributeConvertConfig ac = ConfigProcess(row) as AttributeConvertConfig;
            configs.Add(ac.constantID, ac);
        }
    }
Пример #10
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Npc_npc.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]     row = reader.GetRow(r);
            NpcNpcConfig ac  = ConfigProcess(row) as NpcNpcConfig;
            configs.Add(ac.npcID, ac);
        }
    }
Пример #11
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Tasktracker_tasktracker.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[] row = reader.GetRow(r);
            TasktrackerTasktrackerConfig ac = ConfigProcess(row) as TasktrackerTasktrackerConfig;
            configs.Add(ac.comID, ac);
        }
    }
Пример #12
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Pet_pet.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]     row = reader.GetRow(r);
            PetPetConfig ac  = ConfigProcess(row) as PetPetConfig;
            configs.Add(ac.petId, ac);
        }
    }
Пример #13
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Monster_monster.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]             row = reader.GetRow(r);
            MonsterMonsterConfig ac  = ConfigProcess(row) as MonsterMonsterConfig;
            configs.Add(ac.monsterID, ac);
        }
    }
Пример #14
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Pkmode_pkWanted.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]             row = reader.GetRow(r);
            PkmodePkWantedConfig ac  = ConfigProcess(row) as PkmodePkWantedConfig;
            configs.Add(ac.wanteLeveldId, ac);
        }
    }
Пример #15
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Skill_skill.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]         row = reader.GetRow(r);
            SkillSkillConfig ac  = ConfigProcess(row) as SkillSkillConfig;
            configs.Add(ac.skillID, ac);
        }
    }
Пример #16
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Role_born.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]       row = reader.GetRow(r);
            RoleBornConfig ac  = ConfigProcess(row) as RoleBornConfig;
            configs.Add(ac.bornID, ac);
        }
    }
Пример #17
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Achievement_achievementreward.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[] row = reader.GetRow(r);
            AchievementAchievementrewardConfig ac = ConfigProcess(row) as AchievementAchievementrewardConfig;
            configs.Add(ac.achievementPrizeId, ac);
        }
    }
Пример #18
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Equip_refine.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]          row = reader.GetRow(r);
            EquipRefineConfig ac  = ConfigProcess(row) as EquipRefineConfig;
            configs.Add(ac.id, ac);
        }
    }
Пример #19
0
    public void Load()
    {
        CVSReader reader = new CVSReader();

        reader.LoadText("Data/Config/Area_path.txt", 1);
        int rows = reader.GetRowCount();

        for (int r = 0; r < rows; ++r)
        {
            string[]       row = reader.GetRow(r);
            AreaPathConfig ac  = ConfigProcess(row) as AreaPathConfig;
            configs.Add(ac.id, ac);
        }
    }