Exemplo n.º 1
0
 public void CreateTable(TextAsset placeableObjectTextAsset, TextAsset placeableMapTextAsset)
 {
     objectTable = TableUtility.CreateUIntKeyTable <PlaceableObjectData>(placeableObjectTextAsset.get_text(), PlaceableObjectData.cb, PlaceableObjectData.NT, null);
     objectTable.TrimExcess();
     mapTable = TableUtility.CreateUIntKeyTable <PlaceableMapData>(placeableMapTextAsset.get_text(), PlaceableMapData.cb, PlaceableMapData.NT, null);
     mapTable.TrimExcess();
 }
Exemplo n.º 2
0
    public void CreateTable(string csv_text)
    {
        table = new UIntKeyTable <Data>();
        CSVReader cSVReader = new CSVReader(csv_text, "type,id,face,hair,body,zbias,helm,arm,leg,hitex", false);
        TYPE      tYPE      = TYPE.WEP;

        while (cSVReader.NextLine())
        {
            TYPE value = TYPE.WEP;
            if ((bool)cSVReader.Pop(ref value))
            {
                tYPE = value;
            }
            int value2 = -1;
            if ((bool)cSVReader.Pop(ref value2))
            {
                Data data   = new Data();
                int  value3 = 1;
                if ((bool)cSVReader.Pop(ref value3) && value3 == 0)
                {
                    data.flags &= -2;
                }
                cSVReader.Pop(ref data.hairMode);
                cSVReader.Pop(ref data.bodyDraw);
                value3 = 1;
                if ((bool)cSVReader.Pop(ref value3) && value3 == 0)
                {
                    data.flags &= -17;
                }
                value3 = 1;
                if ((bool)cSVReader.Pop(ref value3) && value3 == 0)
                {
                    data.flags &= -3;
                }
                value3 = 1;
                if ((bool)cSVReader.Pop(ref value3) && value3 == 0)
                {
                    data.flags &= -5;
                }
                value3 = 1;
                if ((bool)cSVReader.Pop(ref value3) && value3 == 0)
                {
                    data.flags &= -9;
                }
                cSVReader.Pop(ref data.highTex);
                table.Add((uint)(tYPE + value2), data);
            }
        }
        table.TrimExcess();
    }
Exemplo n.º 3
0
    public void CreateTable(string csv_text)
    {
        npcDataTable = TableUtility.CreateUIntKeyTable <NPCData>(csv_text, NPCData.cb, "id,npcType,npcmdl,sex,face,scolor,hair,hcolor,bdy,hlm,arm,leg,anim,jp,displayName,specialMdl", null);
        npcDataTable.TrimExcess();
        int i = 0;

        for (int num = npcTypeOnNpcIdList.Length; i < num; i++)
        {
            npcTypeOnNpcIdList[i] = new List <int>();
        }
        npcDataTable.ForEach(delegate(NPCData npcData)
        {
            npcTypeOnNpcIdList[(int)npcData.npcType].Add(npcData.id);
        });
    }
 public void CreateTable(string csv)
 {
     dataTable = TableUtility.CreateUIntKeyListTable <NpcLevelData>(csv, NpcLevelData.CB, "lv,hp,atk,atk_1,atk_2,atk_3,atk_4,atk_5,atk_6,def,def_1,def_2,def_3,def_4,def_5,def_6,w1,w1Lv,w2,w2Lv,w3,w3Lv,armor,armorLv,helm,helmLv,arm,armLv,leg,legLv");
     dataTable.TrimExcess();
     dataTable.ForEach(delegate(List <NpcLevelData> list)
     {
         lvList.Add(list[0].lv);
         int i = 0;
         for (int count = list.Count; i < count; i++)
         {
             list[i].lvIndex = i;
         }
     });
     lvList.Sort();
 }
Exemplo n.º 5
0
    public void CreateTable(string csv_text)
    {
        achievementIdDataTable = new UIntKeyTable <AchievementIdData>();
        CSVReader cSVReader = new CSVReader(csv_text, "taskId,goalNum,androidKey", true);
        uint      num       = 1u;

        while (cSVReader.NextLine())
        {
            AchievementIdData achievementIdData = new AchievementIdData();
            cSVReader.Pop(ref achievementIdData.taskId);
            cSVReader.Pop(ref achievementIdData.goalNum);
            cSVReader.Pop(ref achievementIdData.key);
            achievementIdDataTable.Add(num, achievementIdData);
            num++;
        }
        achievementIdDataTable.TrimExcess();
    }
Exemplo n.º 6
0
 public void CreateTable(string csv_table, TableUtility.Progress progress)
 {
     equipItemTable = TableUtility.CreateUIntKeyTable <EquipItemData>(csv_table, EquipItemData.cb, "equipItemId,appVer,type,getType,eventId,name,rarity,modelID0,modelID1,colorAttr,R,G,B,R2,G2,B2,R3,G3,B3,EfID,EfP,EfR,EfG,EfB,iconId,maxLv,growId,needId,needUniqueId,exceedId,shadowEvolveEquipItemId,atk,def,hp,fireAtk,waterAtk,thunderAtk,earthAtk,lightAtk,darkAtk,fireDef,waterDef,thunderDef,earthDef,lightDef,darkDef,skillType_0,skillItemId_0,skillType_1,skillItemId_1,skillType_2,skillItemId_2,skillType_3,skillItemId_3,skillType_4,skillItemId_4,skillType_5,skillItemId_5,skillType_6,skillItemId_6,skillType_7,skillItemId_7,skillType_8,skillItemId_8,abilityId_0,abilityPoint_0,variant_0,abilityId_1,abilityPoint_1,variant_1,abilityId_2,abilityPoint_2,variant_2,price,listId,obtained,damageDistanceId,atkElementType,defElementType,isFormer,spAttackType,spAttackRate,evolveId", progress);
     equipItemTable.TrimExcess();
 }
 public void CreateTable(string csv_text)
 {
     gachaSearchEnemyDataTable = TableUtility.CreateUIntKeyTable <GachaSearchEnemyData>(csv_text, GachaSearchEnemyData.cb, "id,name,bRare,aRare,sRare,ssRare,sssRare,fire,water,thunder,soil,light,dark,none,sortPriority,startAt", null);
     gachaSearchEnemyDataTable.TrimExcess();
 }
Exemplo n.º 8
0
 public void CreateTable(string csv_text)
 {
     skillTable = TableUtility.CreateUIntKeyTable <SkillItemData>(csv_text, SkillItemData.cb, "skillItemId,appVer,type,name,text,rarity,modelId,R,G,B,iconId,maxLv,growId,needExp,giveExp,atk,def,hp,fireAtk,waterAtk,thunderAtk,earthAtk,lightAtk,darkAtk,fireDef,waterDef,thunderDef,earthDef,lightDef,darkDef,price,enableEquipType,castTime,useGauge,castStateName,actStateName,startEffectName,startSEID,actLocalEffectName,actOneshotEffectName,actSEID,enchantEffectName,reactionType,bulletName,attackInfoNames0,attackInfoNames1,attackInfoNames2,attackInfoNames3,attackInfoNames4,selfOnly,skillAtk,skillAtkType,skillAtkRate,hitEffectName,hitSEID,skillRange,healHp,healType,supportPassiveEqType1,supportType1,supportValue1,supportTime1,supportEffectName1,supportPassiveEqType2,supportType2,supportValue2,supportTime2,supportEffectName2,supportPassiveEqType3,supportType3,supportValue3,supportTime3,supportEffectName3,supportPassiveSpAttackType,buffTableIds,lockBuffTypes", null);
     skillTable.TrimExcess();
 }
Exemplo n.º 9
0
 public void CreateTable(string csv_text)
 {
     taskDataTable = TableUtility.CreateUIntKeyTable <TaskData>(csv_text, TaskData.cb, "taskId,title,detail,orderNo,openRequirements,startTime,endTime,goalNum,conditionVal1,conditionVal2,conditionVal3,conditionVal4,conditionVal5,rewardType,itemId,rewardNum,rewardVal1,rewardVal2,minVersion", null);
     taskDataTable.TrimExcess();
 }
Exemplo n.º 10
0
 public void CreateTable(string csv_text)
 {
     countdownDataTable = TableUtility.CreateUIntKeyTable <CountdownData>(csv_text, CountdownData.cb, "id,imageID,startAt,endAt", null);
     countdownDataTable.TrimExcess();
 }
Exemplo n.º 11
0
 public void CreateTable(string csv_text, TableUtility.Progress progress)
 {
     timeZoneDataTable = TableUtility.CreateUIntKeyTable <FieldMapEnemyPopTimeZoneData>(csv_text, FieldMapEnemyPopTimeZoneData.cb, "id,startTime,endTime,enemyId,mapId", progress);
     timeZoneDataTable.TrimExcess();
 }
Exemplo n.º 12
0
 public void CreateTable(string text)
 {
     dataTable = TableUtility.CreateUIntKeyTable <FieldBuffData>(text, FieldBuffData.cb, "id,name,buffTableIds", null);
     dataTable.TrimExcess();
 }
 public void CreateTable(string csv_text)
 {
     tableData = TableUtility.CreateUIntKeyTable <EvolveEquipItemData>(csv_text, EvolveEquipItemData.cb, "evolveId,baseEquipItemId,nextEquipItemId,itemID_0,itemNum_0,itemID_1,itemNum_1,itemID_2,itemNum_2,itemID_3,itemNum_3,itemID_4,itemNum_4,itemID_5,itemNum_5,itemID_6,itemNum_6,itemID_7,itemNum_7,itemID_8,itemNum_8,itemID_9,itemNum_9,money,equipItemID_0,equipItemNum_0,needLv_0,equipItemID_1,equipItemNum_1,needLv_1,equipItemID_2,equipItemNum_2,needLv_2,equipItemID_3,equipItemNum_3,needLv_3,equipItemID_4,equipItemNum_4,needLv_4,equipItemID_5,equipItemNum_5,needLv_5,equipItemID_6,equipItemNum_6,needLv_6,equipItemID_7,equipItemNum_7,needLv_7,equipItemID_8,equipItemNum_8,needLv_8,equipItemID_9,equipItemNum_9,needLv_9", null);
     tableData.TrimExcess();
 }
Exemplo n.º 14
0
 public void CreateTable(string csv_text)
 {
     table = TableUtility.CreateUIntKeyTable <Data>(csv_text, Data.InsertRow, "id,desc,seId,type", null);
     table.TrimExcess();
 }
 public void CreateTable(string csv_text)
 {
     tableData = TableUtility.CreateUIntKeyTable <CreateEquipItemData>(csv_text, CreateEquipItemData.cb, "createId,equipItemId,researchLv,pickupPriority,keyOrder,isKey_0,itemID_0,itemNum_0,isKey_1,itemID_1,itemNum_1,isKey_2,itemID_2,itemNum_2,isKey_3,itemID_3,itemNum_3,isKey_4,itemID_4,itemNum_4,isKey_5,itemID_5,itemNum_5,isKey_6,itemID_6,itemNum_6,isKey_7,itemID_7,itemNum_7,isKey_8,itemID_8,itemNum_8,isKey_9,itemID_9,itemNum_9,money", null);
     tableData.TrimExcess();
 }
 public void CreateTable(string csv_text)
 {
     audioSettingTable = TableUtility.CreateUIntKeyTable <Data>(csv_text, Data.cb, "id,name,minDistance,maxDistance", null);
     audioSettingTable.TrimExcess();
 }
Exemplo n.º 17
0
 public void CreateTable(string csv_text)
 {
     userLevelTable = TableUtility.CreateUIntKeyTable <UserLevelData>(csv_text, UserLevelData.cb, "lv,needExp", null);
     userLevelTable.TrimExcess();
 }
Exemplo n.º 18
0
 public void CreateTable(string csv_text)
 {
     pickupTable = TableUtility.CreateUIntKeyTable <CreatePickupItemData>(csv_text, CreatePickupItemData.cb, "pickupId,createId,locationId,preShowTime,postShowTime,openOnly", null);
     pickupTable.TrimExcess();
 }
Exemplo n.º 19
0
 public void CreateTable(string csv_text)
 {
     itemTable = TableUtility.CreateUIntKeyTable <ItemData>(csv_text, ItemData.cb, "itemId,itemType,getType,eventId,name,text,enemyIconID,enemyIconID2,rarity,iconID,price,cantSell,element,effectType_0,effectType_1,effectType_2,effectTime,startDate,endDate", null);
     itemTable.TrimExcess();
 }
Exemplo n.º 20
0
 public void CreateTable(string csv_table)
 {
     avatarTable = TableUtility.CreateUIntKeyTable <AvatarData>(csv_table, AvatarData.cb, "dataIndex,rawId,type,name,index,manHeadID,womanHeadID,manFaceID,womanFaceID,R,G,B,R2,G2,B2,defaultHasManHeadIndex,defaultHasWomanHeadIndex,defaultHasManFaceIndex,defaultHasWomanFaceIndex,defaultHasSkinColorIndex,dafaultHasHairColorIndex", null);
     avatarTable.TrimExcess();
     ConvertTable();
 }
Exemplo n.º 21
0
 public void CreateTable(string csv_text)
 {
     abilityTable = TableUtility.CreateUIntKeyTable <Ability>(csv_text, Ability.cb, "abilityId,name,iconId,startDate,endDate,unlockEventId", null);
     abilityTable.TrimExcess();
 }
 public void CreateTable(string csv)
 {
     dataTable = TableUtility.CreateUIntKeyTable <TheaterModeData>(csv, TheaterModeData.CB, "story_id,title,chapter_id,order,script_id", null);
     dataTable.TrimExcess();
 }
 public void CreateTable(string csv)
 {
     dataTable = TableUtility.CreateUIntKeyTable <TheaterModeChapterData>(csv, TheaterModeChapterData.CB, "chapter_id,chapter_name,order,is_main,banner_id", null);
     dataTable.TrimExcess();
 }
 public void CreateTable(string csv_text)
 {
     table = TableUtility.CreateUIntKeyTable <Data>(csv_text, Data.InsertRow, "id,pointShopId,type,typeId,basePoint,rate", null);
     table.TrimExcess();
 }
Exemplo n.º 25
0
 public void CreateTable(string csv_text)
 {
     arenaDataTable = TableUtility.CreateUIntKeyTable <ArenaData>(csv_text, ArenaData.cb, "id,groupId,rank,limit_0,limit_1,limit_2,condition_0,condition_1,condition_2,timeLimit,level,questId_0,questId_1,questId_2,questId_3,questId_4", null);
     arenaDataTable.TrimExcess();
 }
Exemplo n.º 26
0
 public void CreateTable(string csv_text)
 {
     seTable = TableUtility.CreateUIntKeyTable <Data>(csv_text, Data.cb, "id,priority,intervalLimit,volumeOffset,randomPitch,dopplerLevel,minDistance,maxDistance,limitNum,cullingType", null);
     seTable.TrimExcess();
 }
Exemplo n.º 27
0
 public void CreateTable(string csv_text)
 {
     homeThemeDataTable = TableUtility.CreateUIntKeyTable <HomeThemeData>(csv_text, HomeThemeData.cb, "id,name,sceneName,npc0MdlID,npc1MdlID,npc2MdlID,npc6MdlID,bgmID,startAt,endAt", null);
     homeThemeDataTable.TrimExcess();
 }
 public void CreateTable(string csv)
 {
     dataTable = TableUtility.CreateUIntKeyTable <Data>(csv, Data.cb, "id,distanceHateRate,shortShortDistance,shortDistance,middleDistance,longDistance,lifeLowerImportance,lifeLownerVolatize,lifeLowerAttackedVolatize,shortShortDistanceDamage,shortDistanceDamage,middleDistanceDamage,longDistanceDamage,damageImportance,damageVolatize,damageAttackedVolatize,healImportance,healVolatize,healAttackedVolatize,skillImportance,skillVolatize,skillDamagedVolatize,skillHateParam,specialDamageImportance,specialDamageVolatize,specialDamageAttackedVolatize,weakPointHate", null);
     dataTable.TrimExcess();
 }
Exemplo n.º 29
0
 public void CreateTable(string csv)
 {
     dataTable = TableUtility.CreateUIntKeyListTable <EnemyActionData>(csv, EnemyActionData.CB, "enemyID,actionID,actionName,anim0,anim1,anim2,anim3,anim4,weight0,weight1,weight2,weight3,weight4,weight5,weight6,weight7,weight8,act0,act1,act2,act3,act4,act5,act6,act7,act8,act9,angryId,validAngryId,lotteryWaitInterval,counter,useLvLimit,modeId,startWaitInterval");
     dataTable.TrimExcess();
 }
Exemplo n.º 30
0
 public void CreateTable(string text)
 {
     dataTable = TableUtility.CreateUIntKeyTable <Data>(text, Data.cb, "id,condition,value1,value2,value3,value4", null);
     dataTable.TrimExcess();
 }