Esempio n. 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]);
 }
Esempio n. 2
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];
 }
Esempio n. 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];
 }
Esempio n. 4
0
 public ItemOreData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id     = StaticDataManager.stringToInt(array[0]);
     exp    = StaticDataManager.stringToInt(array[1]);
     type1  = StaticDataManager.stringToByte(array[2]);
     count1 = StaticDataManager.stringToInt(array[3]);
 }
Esempio n. 5
0
 public ItemCombineData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id       = StaticDataManager.stringToInt(array[0]);
     needIds  = Array.ConvertAll(array[1].Split('|'), new Converter <String, int>(StaticDataManager.stringToInt));
     needNums = Array.ConvertAll(array[2].Split('|'), new Converter <String, int>(StaticDataManager.stringToInt));
     costType = StaticDataManager.stringToByte(array[3]);
     costNum  = StaticDataManager.stringToInt(array[4]);
 }
Esempio n. 6
0
 public ItemUseData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id            = StaticDataManager.stringToInt(array[0]);
     UseIsDelete   = StaticDataManager.stringToByte(array[1]);
     ItemUseMethod = array[2];
     Arg1          = array[3];
     Arg2          = array[4];
     Arg3          = array[5];
 }
Esempio n. 7
0
 public DailyYunDartData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id             = StaticDataManager.stringToInt(array[0]);
     Target         = array[1];
     Type           = StaticDataManager.stringToByte(array[2]);
     Count          = StaticDataManager.stringToByte(array[3]);
     CurrencyReward = array[4];
     ItemsReward    = array[5];
 }
Esempio n. 8
0
 public DailyComData(string _value)
 {
     string[] array = _value.Split(new char[] { StaticDataConstant.GAP_TAB });
     id       = StaticDataManager.stringToInt(array[0]);
     Lv       = StaticDataManager.stringToInt(array[1]);
     Camp     = StaticDataManager.stringToByte(array[2]);
     Type     = StaticDataManager.stringToByte(array[3]);
     TempId   = StaticDataManager.stringToInt(array[4]);
     Name     = array[5];
     Describe = array[6];
     TotalNum = StaticDataManager.stringToByte(array[7]);
 }
Esempio n. 9
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]);
 }
Esempio n. 10
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]);
 }