public bool ParseDataFromNDT(TsDataReader dr)
    {
        IEnumerator enumerator = dr.GetEnumerator();

        try
        {
            if (enumerator.MoveNext())
            {
                TsDataReader.Row row = (TsDataReader.Row)enumerator.Current;
                if (this.m_pkTileInfo == null)
                {
                    this.m_pkTileInfo = new MAP_TILEINFO();
                }
                this.m_pkTileInfo.SetData(row, base.GetType());
                this.Init();
                return(true);
            }
        }
        finally
        {
            IDisposable disposable = enumerator as IDisposable;
            if (disposable != null)
            {
                disposable.Dispose();
            }
        }
        return(false);
    }
Beispiel #2
0
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num = 0;

        row.GetColumn(num++, out this.ITEMUNIQUE);
        row.GetColumn(num++, out this.TYPECODE);
        row.GetColumn(num++, out this.TEXTKEY);
        row.GetColumn(num++, out this.ENG_NAME);
        row.GetColumn(num++, out this.ATB);
        row.GetColumn(num++, out this.LINK_QUEST1);
        row.GetColumn(num++, out this.LINK_QUEST2);
        row.GetColumn(num++, out this.LINK_QUEST3);
        row.GetColumn(num++, out this.CALL_MOB);
        row.GetColumn(num++, out this.CALL_MOBAREA);
        row.GetColumn(num++, out this.PRUDUCT_IDX);
        row.GetColumn(num++, out this.USEDATE);
        row.GetColumn(num++, out this.TEXTKEY_TOOLTIP);
        row.GetColumn(num++, out this.SORT_ORDER);
        row.GetColumn(num++, out this.PRICE);
        row.GetColumn(num++, out this.MATERIALCODE);
        row.GetColumn(num++, out this.ItemFunc);
        row.GetColumn(num++, out this.FuncParam);
        row.GetColumn(num++, out this.m_strIconFile);
        row.GetColumn(num++, out this.m_shIconIndex);
    }
        private bool _findSection(string sectionName)
        {
            int num = 0;

            for (int i = 0; i < this._owner.m_list_Rows.Count; i++)
            {
                TsDataReader.Row row = this._owner.m_list_Rows[i];
                if (row.LineType == TsDataReader.Row.TYPE.LINE_SECTION)
                {
                    string text = row.GetColumn(0).ToLower();
                    if (text[0] == '[' && sectionName[0] != '[')
                    {
                        sectionName = string.Format("[{0}]", sectionName);
                    }
                    if (text.Equals(sectionName.ToLower()))
                    {
                        this._beginRow            = num;
                        this._beginRowSub         = -1;
                        this._currentRow          = num + 1;
                        this._currentRowAtSection = 0;
                        return(true);
                    }
                }
                num++;
            }
            return(false);
        }
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num          = 0;
        int bShowUI      = 0;
        int bUseActivity = 0;

        row.GetColumn(num++, out this.m_nIndunIDX);
        row.GetColumn(num++, out this.szTextKey);
        row.GetColumn(num++, out this.szName);
        row.GetColumn(num++, out this.m_nMapIndex);
        row.GetColumn(num++, out this.m_nDunScenarioIdx);
        row.GetColumn(num++, out this.strIndunType);
        row.GetColumn(num++, out this.m_nNeedLevel);
        row.GetColumn(num++, out this.m_nCloseingWaitTime);
        row.GetColumn(num++, out this.m_nResetTime);
        row.GetColumn(num++, out this.m_nMaxIndunNum);
        row.GetColumn(num++, out this.m_nReturnGateUnique);
        row.GetColumn(num++, out this.m_fPlayTime);
        row.GetColumn(num++, out this.m_stStartPos.x);
        row.GetColumn(num++, out this.m_stStartPos.y);
        row.GetColumn(num++, out this.m_stStartPos.z);
        row.GetColumn(num++, out this.m_nQuestGroupUnique);
        row.GetColumn(num++, out this.m_szWebImagePath);
        row.GetColumn(num++, out this.m_nRewardGold);
        row.GetColumn(num++, out this.m_nMaxUser);
        row.GetColumn(num++, out this.strNpcCode);
        row.GetColumn(num++, out bShowUI);
        row.GetColumn(num++, out bUseActivity);
        row.GetColumn(num++, out this.m_szMobileImagePath);
        this.m_bShowUI      = (bShowUI != 0);
        this.m_bUseActivity = (bUseActivity != 0);
    }
Beispiel #5
0
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int    num   = 0;
        string empty = string.Empty;

        row.GetColumn(num++, out this.m_nComposeProductionID);
        row.GetColumn(num++, out this.m_nComposeNpcKind);
        row.GetColumn(num++, out this.m_nComposeItemUnique);
        row.GetColumn(num++, out empty);
        row.GetColumn(num++, out this.m_nComposeItemNum);
        row.GetColumn(num++, out this.m_nMaterialItemUnique[0]);
        row.GetColumn(num++, out this.m_nMaterialItemNum[0]);
        row.GetColumn(num++, out this.m_nMaterialItemUnique[1]);
        row.GetColumn(num++, out this.m_nMaterialItemNum[1]);
        row.GetColumn(num++, out this.m_nMaterialItemUnique[2]);
        row.GetColumn(num++, out this.m_nMaterialItemNum[2]);
        row.GetColumn(num++, out this.m_nMaterialItemUnique[3]);
        row.GetColumn(num++, out this.m_nMaterialItemNum[3]);
        row.GetColumn(num++, out this.m_nMaterialItemUnique[4]);
        row.GetColumn(num++, out this.m_nMaterialItemNum[4]);
        row.GetColumn(num++, out this.m_nMaterialItemUnique[5]);
        row.GetColumn(num++, out this.m_nMaterialItemNum[5]);
        row.GetColumn(num++, out this.m_nMaterialItemUnique[6]);
        row.GetColumn(num++, out this.m_nMaterialItemNum[6]);
        row.GetColumn(num++, out this.m_nMaterialItemUnique[7]);
        row.GetColumn(num++, out this.m_nMaterialItemNum[7]);
        row.GetColumn(num++, out this.m_nMaterialItemUnique[8]);
        row.GetColumn(num++, out this.m_nMaterialItemNum[8]);
        row.GetColumn(num++, out this.m_nMaterialItemUnique[9]);
        row.GetColumn(num++, out this.m_nMaterialItemNum[9]);
    }
    public override void SetData(TsDataReader.Row row)
    {
        int num  = 0;
        int num2 = 0;

        row.GetColumn(num++, out this.Season);
        row.GetColumn(num++, out this.Grade);
        row.GetColumn(num++, out this.i32ExtrateRate);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out this.i32ExtrateHeartsRate);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num2);
    }
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num = 0;

        row.GetColumn(num++, out this.ITEMUNIQUE);
        row.GetColumn(num++, out this.TYPECODE);
        row.GetColumn(num++, out this.TEXTKEY);
        row.GetColumn(num++, out this.ENG_NAME);
        row.GetColumn(num++, out this.ATB);
        row.GetColumn(num++, out this.USE_MINLV);
        row.GetColumn(num++, out this.USE_MAXLV);
        row.GetColumn(num++, out this.FUNCTIONS);
        row.GetColumn(num++, out this.PARAM1);
        row.GetColumn(num++, out this.PARAM2);
        row.GetColumn(num++, out this.USEDATE);
        row.GetColumn(num++, out this.TEXTKEY_TOOLTIP);
        row.GetColumn(num++, out this.SORT_ORDER);
        row.GetColumn(num++, out this.PRICE);
        row.GetColumn(num++, out this.MATERIALCODE);
        row.GetColumn(num++, out this.m_strIconFile);
        row.GetColumn(num++, out this.m_shIconIndex);
        if (this.FUNCTIONS == 8)
        {
            this.PARAM2 = Math.Max(0, this.PARAM2 - 1);
        }
    }
Beispiel #8
0
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int    num   = 0;
        string empty = string.Empty;

        row.GetColumn(num++, out this.LOCALMAP_IDX);
        row.GetColumn(num++, out empty);
        row.GetColumn(num++, out this.LOCALMAP_NAME_TEXT_INDEX);
        row.GetColumn(num++, out this.LOCALMAP_ICON);
        row.GetColumn(num++, out this.LOCALMAP_X);
        row.GetColumn(num++, out this.LOCALMAP_Y);
        row.GetColumn(num++, out this.LOCALMAP_BUNDLE_PATH);
        row.GetColumn(num++, out this.LOCALMAP_MOBILE_BUNDLE_PATH);
        row.GetColumn(num++, out this.MAP_INDEX[0]);
        row.GetColumn(num++, out this.MAP_INDEX[1]);
        row.GetColumn(num++, out this.MAP_INDEX[2]);
        row.GetColumn(num++, out this.MAP_INDEX[3]);
        row.GetColumn(num++, out this.MAP_INDEX[4]);
        row.GetColumn(num++, out this.MAP_INDEX[5]);
        row.GetColumn(num++, out this.MAP_INDEX[6]);
        row.GetColumn(num++, out this.MAP_INDEX[7]);
        row.GetColumn(num++, out this.MAP_INDEX[8]);
        row.GetColumn(num++, out this.MAP_INDEX[9]);
        row.GetColumn(num++, out this.MAP_INDEX[10]);
        row.GetColumn(num++, out this.MAP_INDEX[11]);
        row.GetColumn(num++, out this.MAP_INDEX[12]);
        row.GetColumn(num++, out this.MAP_INDEX[13]);
        row.GetColumn(num++, out this.MAP_INDEX[14]);
        row.GetColumn(num++, out this.MAP_INDEX[15]);
        row.GetColumn(num++, out this.MAP_INDEX[16]);
        row.GetColumn(num++, out this.MAP_INDEX[17]);
        row.GetColumn(num++, out this.MAP_INDEX[18]);
        row.GetColumn(num++, out this.MAP_INDEX[19]);
    }
Beispiel #9
0
    public void SetData(int dataIdx, TsDataReader.Row dataRow)
    {
        SolCombinationInfo_Data solCombinationInfo_Data = new SolCombinationInfo_Data();

        solCombinationInfo_Data.SetData(dataRow);
        this._battleSolCombinationData.Add((long)dataIdx, solCombinationInfo_Data);
    }
Beispiel #10
0
    public void SetData(TsDataReader.Row row)
    {
        int num = 0;

        row.GetColumn(num++, out this.m_nLimitLevel);
        row.GetColumn(num++, out this.m_nRate);
        for (int i = 0; i < 3; i++)
        {
            row.GetColumn(num++, out this.m_szTexture[i]);
            string empty = string.Empty;
            row.GetColumn(num++, out empty);
            if (empty == "MONEY")
            {
                row.GetColumn(num++, out this.m_nRewardMoney[i]);
                long num2 = 0L;
                row.GetColumn(num++, out num2);
            }
            else if (empty == "ITEM")
            {
                row.GetColumn(num++, out this.m_nRewardItemUnique[i]);
                row.GetColumn(num++, out this.m_nRewardItemNum[i]);
            }
            else
            {
                this.m_nRewardMoney[i]      = 0L;
                this.m_nRewardItemUnique[i] = 0;
                this.m_nRewardItemNum[i]    = 0;
            }
        }
    }
Beispiel #11
0
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num = 0;

        row.GetColumn(num++, out this.m_nItemUnique);
        row.GetColumn(num++, out this.TYPECODE);
        row.GetColumn(num++, out this.TEXTKEY);
        row.GetColumn(num++, out this.ENG_NAME);
        row.GetColumn(num++, out this.MOD);
        row.GetColumn(num++, out this.ATB);
        row.GetColumn(num++, out this.USE_MINLV);
        row.GetColumn(num++, out this.USE_MAXLV);
        row.GetColumn(num++, out this.DEF);
        row.GetColumn(num++, out this.MAGICDEF);
        row.GetColumn(num++, out this.ADDHP);
        row.GetColumn(num++, out this.STR);
        row.GetColumn(num++, out this.DEX);
        row.GetColumn(num++, out this.INT);
        row.GetColumn(num++, out this.VIT);
        row.GetColumn(num++, out this.CRITICALPLUS);
        row.GetColumn(num++, out this.ATTACKSPEED);
        row.GetColumn(num++, out this.HITRATEPLUS);
        row.GetColumn(num++, out this.EVASIONPLUS);
        row.GetColumn(num++, out this.DURABILITY);
        row.GetColumn(num++, out this.PRUDUCT_IDX);
        row.GetColumn(num++, out this.USEDATE);
        row.GetColumn(num++, out this.TEXTKEY_TOOLTIP);
        row.GetColumn(num++, out this.SORT_ORDER);
        row.GetColumn(num++, out this.QUALITY_LEVEL);
        row.GetColumn(num++, out this.PRICE);
        row.GetColumn(num++, out this.MATERIALCODE);
        row.GetColumn(num++, out this.m_strIconFile);
        row.GetColumn(num++, out this.m_shIconIndex);
    }
Beispiel #12
0
    public void SetData(TsDataReader.Row row)
    {
        Table_MovieUrl_Data table_MovieUrl_Data = new Table_MovieUrl_Data();

        table_MovieUrl_Data.SetData(row);
        this.m_dicMovieUrl.Add(table_MovieUrl_Data.m_iMovieUnique, table_MovieUrl_Data);
    }
    public string SetData(TsDataReader.Row row)
    {
        this.Init();
        int    num   = 0;
        int    num2  = 0;
        int    num3  = 0;
        string empty = string.Empty;
        byte   b     = 0;

        row.GetColumn(num++, out this.bFloorType);
        row.GetColumn(num++, out this.bFloor);
        row.GetColumn(num++, out this.bSubFloor);
        row.GetColumn(num++, out this.i32Scenario);
        row.GetColumn(num++, out this.i16MonLevel);
        row.GetColumn(num++, out empty);
        row.GetColumn(num++, out b);
        row.GetColumn(num++, out this.i32BossHp);
        string empty2 = string.Empty;

        for (int i = 0; i < 12; i++)
        {
            row.GetColumn(num++, out empty2);
            row.GetColumn(num++, out b);
        }
        row.GetColumn(num++, out this.i32RewardExp);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out num3);
        row.GetColumn(num++, out this.i32RewardCount);
        this.i16Index  = (short)this.bSubFloor;
        this.i16Index += (short)((int)this.bFloor * 100);
        return(empty);
    }
Beispiel #14
0
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num = 0;

        row.GetColumn(num++, out this.m_nRewardUnique);
        row.GetColumn(num++, out this.m_nRewardType);
        row.GetColumn(num++, out this.m_sRewardProduct[0].m_strParserRewardType);
        row.GetColumn(num++, out this.m_sRewardProduct[0].m_nRewardRate);
        row.GetColumn(num++, out this.m_sRewardProduct[0].m_nRewardValue1);
        row.GetColumn(num++, out this.m_sRewardProduct[0].m_nRewardValue2);
        row.GetColumn(num++, out this.m_sRewardProduct[0].m_stRewardTexture);
        row.GetColumn(num++, out this.m_sRewardProduct[1].m_strParserRewardType);
        row.GetColumn(num++, out this.m_sRewardProduct[1].m_nRewardRate);
        row.GetColumn(num++, out this.m_sRewardProduct[1].m_nRewardValue1);
        row.GetColumn(num++, out this.m_sRewardProduct[1].m_nRewardValue2);
        row.GetColumn(num++, out this.m_sRewardProduct[1].m_stRewardTexture);
        row.GetColumn(num++, out this.m_sRewardProduct[2].m_strParserRewardType);
        row.GetColumn(num++, out this.m_sRewardProduct[2].m_nRewardRate);
        row.GetColumn(num++, out this.m_sRewardProduct[2].m_nRewardValue1);
        row.GetColumn(num++, out this.m_sRewardProduct[2].m_nRewardValue2);
        row.GetColumn(num++, out this.m_sRewardProduct[2].m_stRewardTexture);
        row.GetColumn(num++, out this.m_sRewardProduct[3].m_strParserRewardType);
        row.GetColumn(num++, out this.m_sRewardProduct[3].m_nRewardRate);
        row.GetColumn(num++, out this.m_sRewardProduct[3].m_nRewardValue1);
        row.GetColumn(num++, out this.m_sRewardProduct[3].m_nRewardValue2);
        row.GetColumn(num++, out this.m_sRewardProduct[3].m_stRewardTexture);
    }
Beispiel #15
0
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num = 0;

        row.GetColumn(num++, out this.i8DayOfWeek);
        row.GetColumn(num++, out this.i8Difficulty);
        row.GetColumn(num++, out this.i32MonLevel);
        row.GetColumn(num++, out this.i8TotalCount);
        for (int i = 0; i < 10; i++)
        {
            row.GetColumn(num++, out this.i32Eco[i]);
        }
        row.GetColumn(num++, out this.i32RewardItemUnique);
        row.GetColumn(num++, out this.i32RewardItemNum);
        row.GetColumn(num++, out this.szBGIMG);
        row.GetColumn(num++, out this.i32TextKey);
        row.GetColumn(num++, out this.i32ResetSoulGem);
        row.GetColumn(num++, out this.szOpen);
        row.GetColumn(num++, out this.szClose);
        row.GetColumn(num++, out this.i32MapIDX);
        row.GetColumn(num++, out this.fGridX);
        row.GetColumn(num++, out this.fGridY);
        row.GetColumn(num++, out this.fGridZ);
        row.GetColumn(num++, out this.szMonIMG);
        row.GetColumn(num++, out this.i32ExplainText);
    }
Beispiel #16
0
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num = 0;

        row.GetColumn(num++, out this.ITEMUNIQUE);
        row.GetColumn(num++, out this.TYPECODE);
        row.GetColumn(num++, out this.TEXTKEY);
        row.GetColumn(num++, out this.ENG_NAME);
        row.GetColumn(num++, out this.ATB);
        row.GetColumn(num++, out this.USE_MINLV);
        row.GetColumn(num++, out this.USE_MAXLV);
        row.GetColumn(num++, out this.ITEMUNIQUE1);
        row.GetColumn(num++, out this.ITEMNUM1);
        row.GetColumn(num++, out this.ITEMPROB1);
        row.GetColumn(num++, out this.ITEMUNIQUE2);
        row.GetColumn(num++, out this.ITEMNUM2);
        row.GetColumn(num++, out this.ITEMPROB2);
        row.GetColumn(num++, out this.ITEMUNIQUE3);
        row.GetColumn(num++, out this.ITEMNUM3);
        row.GetColumn(num++, out this.ITEMPROB3);
        row.GetColumn(num++, out this.ITEMUNIQUE4);
        row.GetColumn(num++, out this.ITEMNUM4);
        row.GetColumn(num++, out this.ITEMPROB4);
        row.GetColumn(num++, out this.ITEMUNIQUE5);
        row.GetColumn(num++, out this.ITEMNUM5);
        row.GetColumn(num++, out this.ITEMPROB5);
        row.GetColumn(num++, out this.ITEMUNIQUE6);
        row.GetColumn(num++, out this.ITEMNUM6);
        row.GetColumn(num++, out this.ITEMPROB6);
        row.GetColumn(num++, out this.ITEMUNIQUE7);
        row.GetColumn(num++, out this.ITEMNUM7);
        row.GetColumn(num++, out this.ITEMPROB7);
        row.GetColumn(num++, out this.ITEMUNIQUE8);
        row.GetColumn(num++, out this.ITEMNUM8);
        row.GetColumn(num++, out this.ITEMPROB8);
        row.GetColumn(num++, out this.ITEMUNIQUE9);
        row.GetColumn(num++, out this.ITEMNUM9);
        row.GetColumn(num++, out this.ITEMPROB9);
        row.GetColumn(num++, out this.ITEMUNIQUE10);
        row.GetColumn(num++, out this.ITEMNUM10);
        row.GetColumn(num++, out this.ITEMPROB10);
        row.GetColumn(num++, out this.ITEMUNIQUE11);
        row.GetColumn(num++, out this.ITEMNUM11);
        row.GetColumn(num++, out this.ITEMPROB11);
        row.GetColumn(num++, out this.ITEMUNIQUE12);
        row.GetColumn(num++, out this.ITEMNUM12);
        row.GetColumn(num++, out this.ITEMPROB12);
        row.GetColumn(num++, out this.USEDATE);
        row.GetColumn(num++, out this.TEXTKEY_TOOLTIP);
        row.GetColumn(num++, out this.SORT_ORDER);
        row.GetColumn(num++, out this.PRICE);
        row.GetColumn(num++, out this.MaterialCode);
        row.GetColumn(num++, out this.m_strIconFile);
        row.GetColumn(num++, out this.m_shIconIndex);
        row.GetColumn(num++, out this.BOXRANK);
        row.GetColumn(num++, out this.BOXSEALINFO);
        row.GetColumn(num++, out this.NEEDOPENITEMUNIQUE);
        row.GetColumn(num++, out this.NEEDOPENITEMNUM);
    }
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int    num  = 0;
        ushort num2 = 0;

        row.GetColumn(num++, out this.EFFECT_KIND);
        row.GetColumn(num++, out this.strEffectType);
        row.GetColumn(num++, out this.strEffectPos);
        row.GetColumn(num++, out num2);
        row.GetColumn(num++, out this.DIFFPOS.x);
        row.GetColumn(num++, out this.DIFFPOS.y);
        row.GetColumn(num++, out this.DIFFPOS.z);
        row.GetColumn(num++, out this.SCALE);
        row.GetColumn(num++, out this.WEB_BUNDLE_PATH);
        row.GetColumn(num++, out this.MOBILE_BUNDLE_PATH);
        row.GetColumn(num++, out this.LIMITCANCEL);
        if (0 > num2)
        {
            this.LIFE_TIME = 3.40282347E+38f;
        }
        else
        {
            this.LIFE_TIME = (float)num2 / 1000f;
        }
    }
Beispiel #18
0
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num = 0;

        row.GetColumn(num++, out this.m_Idx);
        row.GetColumn(num++, out this.m_strSetEffectCode[0]);
        row.GetColumn(num++, out this.m_nValue[0]);
        row.GetColumn(num++, out this.m_byOrder[0]);
        row.GetColumn(num++, out this.m_strSetEffectCode[1]);
        row.GetColumn(num++, out this.m_nValue[1]);
        row.GetColumn(num++, out this.m_byOrder[1]);
        row.GetColumn(num++, out this.m_strSetEffectCode[2]);
        row.GetColumn(num++, out this.m_nValue[2]);
        row.GetColumn(num++, out this.m_byOrder[2]);
        row.GetColumn(num++, out this.m_strSetEffectCode[3]);
        row.GetColumn(num++, out this.m_nValue[3]);
        row.GetColumn(num++, out this.m_byOrder[3]);
        row.GetColumn(num++, out this.m_strSetEffectCode[4]);
        row.GetColumn(num++, out this.m_nValue[4]);
        row.GetColumn(num++, out this.m_byOrder[4]);
        row.GetColumn(num++, out this.m_strSetEffectCode[5]);
        row.GetColumn(num++, out this.m_nValue[5]);
        row.GetColumn(num++, out this.m_byOrder[5]);
        row.GetColumn(num++, out this.m_strTextKey);
    }
Beispiel #19
0
    public override void SetData(TsDataReader.Row row)
    {
        this.adventure = new Adventure();
        int num = 0;

        row.GetColumn(num++, out this.adventure.m_nAdventureUnique);
        row.GetColumn(num++, out this.adventure.m_szAdventureName);
        row.GetColumn(num++, out this.adventure.m_szBackImage);
        for (int i = 0; i < 10; i++)
        {
            int  num2   = -1;
            bool column = row.GetColumn(num++, out num2);
            if (!column || num2 == 0)
            {
                break;
            }
            Adventure.AdventureInfo adventureInfo = new Adventure.AdventureInfo();
            adventureInfo.questGroupUnique = num2;
            row.GetColumn(num++, out adventureInfo.monsterCode);
            string empty = string.Empty;
            row.GetColumn(num++, out empty);
            char[] separator = new char[]
            {
                '_'
            };
            string[] array = empty.Split(separator);
            adventureInfo.mapIndex = int.Parse(array[0]);
            adventureInfo.destX    = int.Parse(array[1]);
            adventureInfo.destY    = int.Parse(array[2]);
            this.adventure.m_kAdventureInfo.Add(adventureInfo);
        }
    }
    public override void ParseRowData(TsDataReader.Row tsRow)
    {
        PatchLoading_Data patchLoading_Data = new PatchLoading_Data();

        patchLoading_Data.SetData(tsRow);
        NrTSingleton <PatchLoading_Data_Manager> .Instance.Add(patchLoading_Data);
    }
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num = 0;

        row.GetColumn(num++, out this.i16Unique);
        row.GetColumn(num++, out this.i16Week);
        row.GetColumn(num++, out this.i16Hour);
        row.GetColumn(num++, out this.i16Page);
        row.GetColumn(num++, out this.i16Episode);
        row.GetColumn(num++, out this.strNPCCharCode);
        row.GetColumn(num++, out this.i32ScenarioUnique);
        row.GetColumn(num++, out this.i16MonsterLevel);
        row.GetColumn(num++, out this.i16MaxChar);
        row.GetColumn(num++, out this.i16EcoIndex);
        row.GetColumn(num++, out this.i32FirstRewardUnique);
        row.GetColumn(num++, out this.i32FirstRewardNum);
        row.GetColumn(num++, out this.i32RepeatRewardUnique);
        row.GetColumn(num++, out this.i32RepeatRewardNum);
        row.GetColumn(num++, out this.i64RewardExp);
        row.GetColumn(num++, out this.i16RankBaseTurn);
        row.GetColumn(num++, out this.i16SpecialRewardType);
        row.GetColumn(num++, out this.i32MapIndex);
        for (int i = 0; i < 5; i++)
        {
            row.GetColumn(num++, out this.fFixPosX[i]);
            row.GetColumn(num++, out this.fFixPosY[i]);
            row.GetColumn(num++, out this.fFixPosZ[i]);
            row.GetColumn(num++, out this.iDirection[i]);
        }
        row.GetColumn(num++, out this.i32WeekTitleKey);
        row.GetColumn(num++, out this.strWeekBG);
        row.GetColumn(num++, out this.strMonBG);
    }
 public override void SetData(TsDataReader.Row row)
 {
     this.Init();
     row.GetColumn(0, out this.iWarehouseNumber);
     row.GetColumn(1, out this.iNeedMoney);
     row.GetColumn(2, out this.iNeedHeartsNum);
 }
Beispiel #23
0
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num = 0;

        row.GetColumn(num++, out this.m_nFloorType);
        row.GetColumn(num++, out this.m_nFloor);
        row.GetColumn(num++, out this.m_nSubFloor);
        row.GetColumn(num++, out this.m_nBossRate);
        row.GetColumn(num++, out this.m_nScenario);
        row.GetColumn(num++, out this.m_nMonLevel);
        row.GetColumn(num++, out this.m_nMaxChar);
        row.GetColumn(num++, out this.m_strTextExplain);
        row.GetColumn(num++, out this.m_nFirstReward_ItemUniq);
        row.GetColumn(num++, out this.m_nFirstReward_ItemNum);
        row.GetColumn(num++, out this.m_nReward_ItemUniq);
        row.GetColumn(num++, out this.m_nReward_ItemNum);
        row.GetColumn(num++, out this.m_nReward_Exp);
        row.GetColumn(num++, out this.m_nRankTurn);
        row.GetColumn(num++, out this.m_nSpecialRewardType);
        row.GetColumn(num++, out this.m_i32TreasureRewardUnique);
        row.GetColumn(num++, out this.m_i32TreasureRewardRank);
        row.GetColumn(num++, out this.m_i32TreasureRewardNum);
        row.GetColumn(num++, out this.m_i32ShowSpecialReward_DataUnique);
        row.GetColumn(num++, out this.m_i32ShowSpecialReward_DataPos);
        row.GetColumn(num++, out this.m_nWillSpend);
    }
 public override void SetData(TsDataReader.Row row)
 {
     this.Init();
     row.GetColumn(1, out this.i64GroupUnique);
     row.GetColumn(2, out this.strCHARCODE);
     row.GetColumn(3, out this.i8Grade);
 }
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num = 0;

        row.GetColumn(num++, out this.m_Idx);
        row.GetColumn(num++, out this.m_nGroup);
        row.GetColumn(num++, out this.m_isRecommend);
        row.GetColumn(num++, out this.m_strIconPath);
        row.GetColumn(num++, out this.m_strTextKey);
        row.GetColumn(num++, out this.m_strTextNote);
        row.GetColumn(num++, out this.m_nMoneyType);
        row.GetColumn(num++, out this.m_nPrice);
        row.GetColumn(num++, out this.m_fPrice);
        row.GetColumn(num++, out this.m_nItemUnique);
        row.GetColumn(num++, out this.m_nItemNum);
        row.GetColumn(num++, out this.m_nBounusItemNum);
        row.GetColumn(num++, out this.m_nGetMoney);
        row.GetColumn(num++, out this.m_nSaleNum);
        row.GetColumn(num++, out this.m_nGift);
        row.GetColumn(num++, out this.m_strItemTextKey);
        row.GetColumn(num++, out this.m_strItemTooltip);
        row.GetColumn(num++, out this.m_strSolKind);
        row.GetColumn(num++, out this.m_isEvent);
        row.GetColumn(num++, out this.m_nVipExp);
        row.GetColumn(num++, out this.m_strGoogleQA);
        row.GetColumn(num++, out this.m_strGoogle);
        row.GetColumn(num++, out this.m_strApple);
    }
    public override void SetData(TsDataReader.Row row)
    {
        int num = 0;

        row.GetColumn(num++, out this.m_iMovieUnique);
        row.GetColumn(num++, out this.m_strMovieUrl);
    }
Beispiel #27
0
    public void SetData(TsDataReader.Row row)
    {
        int num = 0;

        row.GetColumn(num++, out this.text);
        row.GetColumn(num++, out this.value);
    }
Beispiel #28
0
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int    num   = 0;
        string empty = string.Empty;

        row.GetColumn(num++, out this.ATTACKTYPE);
        row.GetColumn(num++, out this.ATTACKCODE);
        row.GetColumn(num++, out this.WEAPONCODE);
        row.GetColumn(num++, out this.JOBTYPE);
        row.GetColumn(num++, out this.BulletCode);
        row.GetColumn(num++, out this.HitEffectCode);
        row.GetColumn(num++, out empty);
        row.GetColumn(num++, out this.ATTACKINTERVAL);
        row.GetColumn(num++, out this.MOVERANGE);
        row.GetColumn(num++, out this.ATTACKRANGE);
        row.GetColumn(num++, out this.SIGHTRANGE);
        row.GetColumn(num++, out this.CANATTACKRANGE);
        row.GetColumn(num++, out this.MINACTIVEPOWER);
        row.GetColumn(num++, out this.MAXACTIVEPOWER);
        if (Enum.IsDefined(typeof(E_ATTACK_GRID_TYPE), empty))
        {
            this.ATTACKGRID = (byte)((int)Enum.Parse(typeof(E_ATTACK_GRID_TYPE), empty));
        }
        this.fAttackInterval = (float)this.ATTACKINTERVAL / 10f;
        this.fMoveRange      = (float)this.MOVERANGE / 10f;
        this.fAttackRange    = (float)this.ATTACKRANGE / 10f;
        this.fSightRange     = (float)this.SIGHTRANGE / 10f;
    }
    public override void SetData(TsDataReader.Row row)
    {
        this.Init();
        int num = 0;

        row.GetColumn(num++, out this.m_nWeek);
        row.GetColumn(num++, out this.m_nYear);
        row.GetColumn(num++, out this.m_nMonth);
        row.GetColumn(num++, out this.m_nDay);
        row.GetColumn(num++, out this.m_nStartTime);
        row.GetColumn(num++, out this.m_nDurationTime);
        row.GetColumn(num++, out this.m_nEndYear);
        row.GetColumn(num++, out this.m_nEndMonth);
        row.GetColumn(num++, out this.m_nEndDay);
        row.GetColumn(num++, out this.m_nEndTime);
        row.GetColumn(num++, out this.strEventType);
        row.GetColumn(num++, out this.m_nExplain);
        row.GetColumn(num++, out this.m_nTitleText);
        row.GetColumn(num++, out this.m_strRewardType);
        row.GetColumn(num++, out this.m_nItemUnique);
        row.GetColumn(num++, out this.m_nRewardCount);
        row.GetColumn(num++, out this.m_nRewardIcon);
        row.GetColumn(num++, out this.m_nLimitCount);
        row.GetColumn(num++, out this.m_strImage);
        row.GetColumn(num++, out this.m_strSolTalkImg);
        row.GetColumn(num++, out this.m_nLimitLevel);
        row.GetColumn(num++, out this.m_nShowList);
    }
Beispiel #30
0
    public void SetData(TsDataReader.Row row)
    {
        int num = 0;

        row.GetColumn(num++, out this.strQuestUnique);
        row.GetColumn(num++, out this.i32Grade);
        row.GetColumn(num++, out this.i64RewardMoney);
        row.GetColumn(num++, out this.i64RewardExp);
        row.GetColumn(num++, out this.nRewardItemUnique0);
        row.GetColumn(num++, out this.nRewardItemNum0);
        row.GetColumn(num++, out this.nRewardItemUnique1);
        row.GetColumn(num++, out this.nRewardItemNum1);
        row.GetColumn(num++, out this.nRewardItemUnique2);
        row.GetColumn(num++, out this.nRewardItemNum2);
        row.GetColumn(num++, out this.nRewardItemUnique3);
        row.GetColumn(num++, out this.nRewardItemNum3);
        row.GetColumn(num++, out this.nRewardItemUnique4);
        row.GetColumn(num++, out this.nRewardItemNum4);
        row.GetColumn(num++, out this.i32RecruitGenCharKind);
        row.GetColumn(num++, out this.nRecruitReplaceItemUnique);
        row.GetColumn(num++, out this.nRecruitReplaceItemNum);
        row.GetColumn(num++, out this.i32UpgradeGenCharKind);
        row.GetColumn(num++, out this.i32UpgradePreGrade);
        row.GetColumn(num++, out this.i32UpgradePostGrade);
        row.GetColumn(num++, out this.nUpgradeReplaceItemUnique);
        row.GetColumn(num++, out this.nUpgradeReplaceItemNum);
        row.GetColumn(num++, out this.nReputeUnique);
        row.GetColumn(num++, out this.nReputeValue);
    }