Exemple #1
0
 public ItemTplData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id                  = StaticDataManager.stringToInt(array[0]);
     ItemName            = array[1];
     ItemType            = StaticDataManager.stringToInt(array[2]);
     ItemQuality         = StaticDataManager.stringToInt(array[3]);
     ItemDesc            = array[4];
     ItemIconName        = array[5];
     ItemMaxStackNum     = StaticDataManager.stringToInt(array[6]);
     ItemMaxShelflife    = StaticDataManager.stringToInt(array[7]);
     ItemBindType        = StaticDataManager.stringToInt(array[8]);
     ItemUseCamp         = StaticDataManager.stringToInt(array[9]);
     ItemSex             = StaticDataManager.stringToInt(array[10]);
     ItemProfession      = StaticDataManager.stringToInt(array[11]);
     ItemUseRoleLv       = StaticDataManager.stringToUshort(array[12]);
     ItemUseRoleOfficeLv = StaticDataManager.stringToByte(array[13]);
     ItemUseVipLv        = StaticDataManager.stringToByte(array[14]);
     CanManualUse        = StaticDataManager.stringToByte(array[15]);
     ItemUseId           = StaticDataManager.stringToInt(array[16]);
     ItemIsSell          = StaticDataManager.stringToByte(array[17]);
     SellCurrenceType    = StaticDataManager.stringToInt(array[18]);
     SellingPrice        = StaticDataManager.stringToInt(array[19]);
     CdDelay             = StaticDataManager.stringToFloat(array[20]);
 }
Exemple #2
0
 public PlayerTplData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id            = StaticDataManager.stringToInt(array[0]);
     name          = array[1];
     career        = StaticDataManager.stringToInt(array[2]);
     prefab        = array[3];
     sex           = StaticDataManager.stringToInt(array[4]);
     attribute     = StaticDataManager.stringToInt(array[5]);
     describe      = array[6];
     speed         = StaticDataManager.stringToFloat(array[7]);
     skill1        = StaticDataManager.stringToInt(array[8]);
     skill2        = StaticDataManager.stringToInt(array[9]);
     skill3        = StaticDataManager.stringToInt(array[10]);
     skill4        = StaticDataManager.stringToInt(array[11]);
     skill5        = StaticDataManager.stringToInt(array[12]);
     weapon        = StaticDataManager.stringToInt(array[13]);
     head          = StaticDataManager.stringToInt(array[14]);
     chest         = StaticDataManager.stringToInt(array[15]);
     cuff          = StaticDataManager.stringToInt(array[16]);
     belt          = StaticDataManager.stringToInt(array[17]);
     shoes         = StaticDataManager.stringToInt(array[18]);
     necklace      = StaticDataManager.stringToInt(array[19]);
     ring1         = StaticDataManager.stringToInt(array[20]);
     ring2         = StaticDataManager.stringToInt(array[21]);
     jadependant   = StaticDataManager.stringToInt(array[22]);
     chestfashion  = StaticDataManager.stringToInt(array[23]);
     weaponfashion = StaticDataManager.stringToInt(array[24]);
 }
Exemple #3
0
 public SkillActiveData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id               = StaticDataManager.stringToInt(array[0]);
     profession       = StaticDataManager.stringToInt(array[1]);
     name             = array[2];
     relation         = StaticDataManager.stringToInt(array[3]);
     relationTime     = Array.ConvertAll(array[4].Split('|'), new Converter <String, float>(StaticDataManager.stringToFloat));
     resMan           = array[5];
     resWoman         = array[6];
     actionIndex      = StaticDataManager.stringToByte(array[7]);
     type             = StaticDataManager.stringToInt(array[8]);
     checker          = StaticDataManager.stringToInt(array[9]);
     consumer         = StaticDataManager.stringToInt(array[10]);
     action           = StaticDataManager.stringToInt(array[11]);
     selector         = StaticDataManager.stringToInt(array[12]);
     selparam1        = StaticDataManager.stringToFloat(array[13]);
     selparam2        = StaticDataManager.stringToFloat(array[14]);
     preId            = StaticDataManager.stringToInt(array[15]);
     maxLv            = StaticDataManager.stringToInt(array[16]);
     range            = StaticDataManager.stringToFloat(array[17]);
     cdTime           = StaticDataManager.stringToFloat(array[18]);
     protectTime      = StaticDataManager.stringToFloat(array[19]);
     tarType          = StaticDataManager.stringToByte(array[20]);
     throwEffectSpeed = StaticDataManager.stringToFloat(array[21]);
     icon             = array[22];
 }
 public ItemEquipRefineData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id   = StaticDataManager.stringToInt(array[0]);
     mid  = StaticDataManager.stringToInt(array[1]);
     rate = StaticDataManager.stringToFloat(array[2]);
 }
Exemple #5
0
 public SkillLevelData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id            = StaticDataManager.stringToInt(array[0]);
     level         = StaticDataManager.stringToInt(array[1]);
     damage        = StaticDataManager.stringToInt(array[2]);
     damagePercent = StaticDataManager.stringToFloat(array[3]);
     levelParam    = StaticDataManager.stringToFloat(array[4]);
     hitRate       = StaticDataManager.stringToFloat(array[5]);
     consume       = StaticDataManager.stringToFloat(array[6]);
     areaCount     = StaticDataManager.stringToByte(array[7]);
     clientHitTime = Array.ConvertAll(array[8].Split('|'), new Converter <String, float>(StaticDataManager.stringToFloat));
     hitTime       = Array.ConvertAll(array[9].Split('|'), new Converter <String, float>(StaticDataManager.stringToFloat));
     buff1ids      = StaticDataManager.stringToInt(array[10]);
     buff1level    = StaticDataManager.stringToInt(array[11]);
     buff1TarType  = StaticDataManager.stringToInt(array[12]);
     buff1Rate     = StaticDataManager.stringToFloat(array[13]);
     buff2ids      = StaticDataManager.stringToInt(array[14]);
     buff2level    = StaticDataManager.stringToInt(array[15]);
     buff2TarType  = StaticDataManager.stringToInt(array[16]);
     buff2Rate     = StaticDataManager.stringToFloat(array[17]);
     cost          = array[18];
     des           = array[19];
     desParam      = array[20];
 }
Exemple #6
0
 public AchieveNameData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id        = StaticDataManager.stringToInt(array[0]);
     atype     = StaticDataManager.stringToInt(array[1]);
     name      = array[2];
     desc      = array[3];
     type      = StaticDataManager.stringToInt(array[4]);
     targetNum = StaticDataManager.stringToInt(array[5]);
     target    = array[6];
     attri1    = StaticDataManager.stringToInt(array[7]);
     value1    = StaticDataManager.stringToFloat(array[8]);
 }
 public SkillPassiveLevelData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id       = StaticDataManager.stringToInt(array[0]);
     level    = StaticDataManager.stringToInt(array[1]);
     attri1   = StaticDataManager.stringToInt(array[2]);
     value1   = StaticDataManager.stringToFloat(array[3]);
     attri2   = StaticDataManager.stringToInt(array[4]);
     value2   = StaticDataManager.stringToFloat(array[5]);
     attri3   = StaticDataManager.stringToInt(array[6]);
     value3   = StaticDataManager.stringToFloat(array[7]);
     cost     = array[8];
     des      = array[9];
     desParam = array[10];
 }
Exemple #8
0
 public BuffLevelData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id         = StaticDataManager.stringToInt(array[0]);
     level      = StaticDataManager.stringToInt(array[1]);
     affectTime = StaticDataManager.stringToFloat(array[2]);
     affectRate = StaticDataManager.stringToFloat(array[3]);
     attri1     = StaticDataManager.stringToInt(array[4]);
     value1     = StaticDataManager.stringToFloat(array[5]);
     attri2     = StaticDataManager.stringToInt(array[6]);
     value2     = StaticDataManager.stringToFloat(array[7]);
     attri3     = StaticDataManager.stringToInt(array[8]);
     value3     = StaticDataManager.stringToFloat(array[9]);
     vfx        = array[10];
 }
Exemple #9
0
 public CopyTplData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id             = StaticDataManager.stringToInt(array[0]);
     copylevel      = StaticDataManager.stringToInt(array[1]);
     name           = array[2];
     target         = array[3];
     mapid          = StaticDataManager.stringToInt(array[4]);
     playerlevel    = StaticDataManager.stringToInt(array[5]);
     CurrencyReward = array[6];
     ItemsReward    = array[7];
     logic          = StaticDataManager.stringToInt(array[8]);
     time           = StaticDataManager.stringToFloat(array[9]);
     targetId       = StaticDataManager.stringToInt(array[10]);
     arg1           = array[11];
 }
Exemple #10
0
 public NPCTplData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id           = StaticDataManager.stringToInt(array[0]);
     name         = array[1];
     prefab       = array[2];
     type         = StaticDataManager.stringToByte(array[3]);
     monsterAtt   = StaticDataManager.stringToInt(array[4]);
     speed        = StaticDataManager.stringToFloat(array[5]);
     AutoAtk      = StaticDataManager.stringToInt(array[6]);
     distance     = StaticDataManager.stringToInt(array[7]);
     interval     = StaticDataManager.stringToInt(array[8]);
     skill        = Array.ConvertAll(array[9].Split('|'), new Converter <String, int>(StaticDataManager.stringToInt));
     logic        = StaticDataManager.stringToInt(array[10]);
     deadBodyTime = StaticDataManager.stringToFloat(array[11]);
     dropType     = StaticDataManager.stringToInt(array[12]);
     parameters   = StaticDataManager.stringToInt(array[13]);
     Headmark     = StaticDataManager.stringToInt(array[14]);
 }
Exemple #11
0
 public NPC_AttriData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     type       = StaticDataManager.stringToInt(array[0]);
     level      = StaticDataManager.stringToInt(array[1]);
     hp         = StaticDataManager.stringToInt(array[2]);
     atk        = StaticDataManager.stringToInt(array[3]);
     goldDef    = StaticDataManager.stringToInt(array[4]);
     woodDef    = StaticDataManager.stringToInt(array[5]);
     waterDef   = StaticDataManager.stringToInt(array[6]);
     fireDef    = StaticDataManager.stringToInt(array[7]);
     soilDef    = StaticDataManager.stringToInt(array[8]);
     hitVal     = StaticDataManager.stringToInt(array[9]);
     dodgeVal   = StaticDataManager.stringToInt(array[10]);
     speed      = StaticDataManager.stringToFloat(array[11]);
     critVal    = StaticDataManager.stringToInt(array[12]);
     defCritVal = StaticDataManager.stringToInt(array[13]);
     hpRecovery = StaticDataManager.stringToInt(array[14]);
     exp        = StaticDataManager.stringToInt(array[15]);
 }
Exemple #12
0
 public MapsData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id             = StaticDataManager.stringToInt(array[0]);
     name           = array[1];
     nickName       = array[2];
     sizeX          = StaticDataManager.stringToUint(array[3]);
     sizeZ          = StaticDataManager.stringToUint(array[4]);
     maxPlayerCount = StaticDataManager.stringToInt(array[5]);
     mapType        = StaticDataManager.stringToInt(array[6]);
     camp           = StaticDataManager.stringToInt(array[7]);
     startX         = StaticDataManager.stringToFloat(array[8]);
     startY         = StaticDataManager.stringToFloat(array[9]);
     width          = StaticDataManager.stringToFloat(array[10]);
     height         = StaticDataManager.stringToFloat(array[11]);
     ulX            = StaticDataManager.stringToFloat(array[12]);
     ulZ            = StaticDataManager.stringToFloat(array[13]);
     rdX            = StaticDataManager.stringToFloat(array[14]);
     rdZ            = StaticDataManager.stringToFloat(array[15]);
 }
Exemple #13
0
 public CheatsData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id            = StaticDataManager.stringToInt(array[0]);
     level         = StaticDataManager.stringToInt(array[1]);
     attri1        = StaticDataManager.stringToInt(array[2]);
     value1        = StaticDataManager.stringToFloat(array[3]);
     attri2        = StaticDataManager.stringToInt(array[4]);
     value2        = StaticDataManager.stringToFloat(array[5]);
     attri3        = StaticDataManager.stringToInt(array[6]);
     value3        = StaticDataManager.stringToFloat(array[7]);
     goldcost      = StaticDataManager.stringToInt(array[8]);
     goldcostrate  = StaticDataManager.stringToFloat(array[9]);
     rmbcost       = StaticDataManager.stringToInt(array[10]);
     rmbcostrate   = StaticDataManager.stringToFloat(array[11]);
     opencondition = StaticDataManager.stringToInt(array[12]);
     des           = array[13];
     desParam      = array[14];
     cost          = array[15];
 }
Exemple #14
0
 public PlayerLevelData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     level = StaticDataManager.stringToInt(array[0]);
     pro   = StaticDataManager.stringToByte(array[1]);
     exp   = StaticDataManager.stringToInt(array[2]);
     power = StaticDataManager.stringToFloat(array[3]);
     body  = StaticDataManager.stringToFloat(array[4]);
     dex   = StaticDataManager.stringToFloat(array[5]);
     hp    = StaticDataManager.stringToInt(array[6]);
     mp    = StaticDataManager.stringToInt(array[7]);
     atk   = StaticDataManager.stringToInt(array[8]);
     gold  = StaticDataManager.stringToInt(array[9]);
     wood  = StaticDataManager.stringToInt(array[10]);
     water = StaticDataManager.stringToInt(array[11]);
     fire  = StaticDataManager.stringToInt(array[12]);
     earth = StaticDataManager.stringToInt(array[13]);
     hit   = StaticDataManager.stringToInt(array[14]);
     dodge = StaticDataManager.stringToInt(array[15]);
     point = StaticDataManager.stringToInt(array[16]);
 }
Exemple #15
0
 public TaskTplData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id             = StaticDataManager.stringToInt(array[0]);
     name           = array[1];
     Target         = array[2];
     FinishedTarget = array[3];
     Describe       = array[4];
     NextId         = StaticDataManager.stringToInt(array[5]);
     MapId          = StaticDataManager.stringToInt(array[6]);
     posX           = StaticDataManager.stringToFloat(array[7]);
     posZ           = StaticDataManager.stringToFloat(array[8]);
     FinishMapId    = StaticDataManager.stringToInt(array[9]);
     FinishNpcId    = StaticDataManager.stringToInt(array[10]);
     CurrencyReward = array[11];
     ItemsReward    = array[12];
     EventType      = StaticDataManager.stringToInt(array[13]);
     arg1           = array[14];
     arg2           = array[15];
     arg3           = array[16];
     talkId1        = StaticDataManager.stringToInt(array[17]);
     talkId2        = StaticDataManager.stringToInt(array[18]);
     func           = StaticDataManager.stringToInt(array[19]);
 }
Exemple #16
0
 public ItemEquipRefineLvData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id          = StaticDataManager.stringToInt(array[0]);
     tid         = StaticDataManager.stringToInt(array[1]);
     level       = StaticDataManager.stringToInt(array[2]);
     ItemQuality = StaticDataManager.stringToInt(array[3]);
     attri1      = StaticDataManager.stringToInt(array[4]);
     value1      = StaticDataManager.stringToInt(array[5]);
     value11     = StaticDataManager.stringToInt(array[6]);
     attri2      = StaticDataManager.stringToInt(array[7]);
     value2      = StaticDataManager.stringToInt(array[8]);
     value22     = StaticDataManager.stringToInt(array[9]);
     attri3      = StaticDataManager.stringToInt(array[10]);
     value3      = StaticDataManager.stringToInt(array[11]);
     value33     = StaticDataManager.stringToInt(array[12]);
     attri4      = StaticDataManager.stringToInt(array[13]);
     value4      = StaticDataManager.stringToFloat(array[14]);
     value44     = StaticDataManager.stringToInt(array[15]);
     attri5      = StaticDataManager.stringToInt(array[16]);
     value5      = StaticDataManager.stringToFloat(array[17]);
     attri6      = StaticDataManager.stringToInt(array[18]);
     value6      = StaticDataManager.stringToFloat(array[19]);
 }