public void SerializableTable(ArrayList valuesList, string skey, Hashtable _hash)
      {
          if (string.IsNullOrEmpty(skey))
          {
              throw TableException.ErrorReader("Read File{0} as key is Empty Fail!!!", GetInstanceFile());
          }

          if ((int)_ID.MAX_RECORD != valuesList.Count)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Count);
          }
          Int32          nKey    = Convert.ToInt32(skey);
          Tab_TableModel _values = new Tab_TableModel();

          _values.m_CdRound  = Convert.ToInt32(valuesList[(int)_ID.ID_CD_ROUND] as string);
          _values.m_Data     = Convert.ToInt32(valuesList[(int)_ID.ID_DATA] as string);
          _values.m_EffectID = Convert.ToInt32(valuesList[(int)_ID.ID_EFFECTID] as string);
          _values.m_Example  = valuesList[(int)_ID.ID_EXAMPLE] as string;
          _values.m_LogicId  = Convert.ToInt32(valuesList[(int)_ID.ID_LOGIC_ID] as string);
          _values.m_Order    = Convert.ToInt32(valuesList[(int)_ID.ID_ORDER] as string);
          _values.m_Percent  = Convert.ToInt32(valuesList[(int)_ID.ID_PERCENT] as string);

          _hash.Add(nKey, _values);
      }
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_RankReward _values = new Tab_RankReward();

          _values.m_BindYuanBao         = Convert.ToInt32(valuesList[(int)_ID.ID_BINDYUANBAO] as string);
          _values.m_EndTime             = Convert.ToInt32(valuesList[(int)_ID.ID_ENDTIME] as string);
          _values.m_Index               = Convert.ToInt32(valuesList[(int)_ID.ID_INDEX] as string);
          _values.m_Money               = Convert.ToInt32(valuesList[(int)_ID.ID_MONEY] as string);
          _values.m_PosMax              = Convert.ToInt32(valuesList[(int)_ID.ID_POSMAX] as string);
          _values.m_PosMin              = Convert.ToInt32(valuesList[(int)_ID.ID_POSMIN] as string);
          _values.m_RankType            = Convert.ToInt32(valuesList[(int)_ID.ID_RANKTYPE] as string);
          _values.m_Reputation          = Convert.ToInt32(valuesList[(int)_ID.ID_REPUTATION] as string);
          _values.m_RewardDesc          = Convert.ToInt32(valuesList[(int)_ID.ID_REWARDDESC] as string);
          _values.m_RewardItemCount [0] = Convert.ToInt32(valuesList[(int)_ID.ID_REWARDITEMCOUNT1] as string);
          _values.m_RewardItemCount [1] = Convert.ToInt32(valuesList[(int)_ID.ID_REWARDITEMCOUNT2] as string);
          _values.m_RewardItemID [0]    = Convert.ToInt32(valuesList[(int)_ID.ID_REWARDITEMID1] as string);
          _values.m_RewardItemID [1]    = Convert.ToInt32(valuesList[(int)_ID.ID_REWARDITEMID2] as string);
          _values.m_StartTime           = Convert.ToInt32(valuesList[(int)_ID.ID_STARTTIME] as string);
          _values.m_TitleId             = Convert.ToInt32(valuesList[(int)_ID.ID_TITLEID] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_MissionOperationNum _values = new Tab_MissionOperationNum();

          _values.m_Id             = Convert.ToInt32(valuesList[(int)_ID.ID_ID] as string);
          _values.m_OperationCount = Convert.ToInt32(valuesList[(int)_ID.ID_OPERATIONCOUNT] as string);
          _values.m_OperationType  = Convert.ToInt32(valuesList[(int)_ID.ID_OPERATIONTYPE] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_FTESound _values = new Tab_FTESound();

          _values.m_Id         = Convert.ToInt32(valuesList[(int)_ID.ID_ID] as string);
          _values.m_SoundList  = valuesList[(int)_ID.ID_SOUNDLIST] as string;
          _values.m_StartPoint = valuesList[(int)_ID.ID_STARTPOINT] as string;

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_CopyScene _values = new Tab_CopyScene();

          _values.m_DescInfo         = valuesList[(int)_ID.ID_DESCINFO] as string;
          _values.m_ExistTime        = Convert.ToInt32(valuesList[(int)_ID.ID_EXISTTIME] as string);
          _values.m_HeartbeatTime    = Convert.ToInt32(valuesList[(int)_ID.ID_HEARTBEATTIME] as string);
          _values.m_Id               = Convert.ToInt32(valuesList[(int)_ID.ID_ID] as string);
          _values.m_Name             = valuesList[(int)_ID.ID_NAME] as string;
          _values.m_PlayersDemandMax = Convert.ToInt32(valuesList[(int)_ID.ID_PLAYERSDEMANDMAX] as string);
          _values.m_PlayersDemandMin = Convert.ToInt32(valuesList[(int)_ID.ID_PLAYERSDEMANDMIN] as string);
          _values.m_Rule [0]         = Convert.ToInt32(valuesList[(int)_ID.ID_RULE1] as string);
          _values.m_Rule [1]         = Convert.ToInt32(valuesList[(int)_ID.ID_RULE2] as string);
          _values.m_Rule [2]         = Convert.ToInt32(valuesList[(int)_ID.ID_RULE3] as string);
          _values.m_RuleTeam [0]     = Convert.ToInt32(valuesList[(int)_ID.ID_RULETEAM1] as string);
          _values.m_RuleTeam [1]     = Convert.ToInt32(valuesList[(int)_ID.ID_RULETEAM2] as string);
          _values.m_RuleTeam [2]     = Convert.ToInt32(valuesList[(int)_ID.ID_RULETEAM3] as string);
          _values.m_ScriptID         = Convert.ToInt32(valuesList[(int)_ID.ID_SCRIPTID] as string);
          _values.m_WaitTime         = Convert.ToInt32(valuesList[(int)_ID.ID_WAITTIME] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_HongBaoRankAwardInfo _values = new Tab_HongBaoRankAwardInfo();

          _values.m_Id             = Convert.ToInt32(valuesList[(int)_ID.ID_ID] as string);
          _values.m_ItemCount [0]  = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMCOUNT0] as string);
          _values.m_ItemCount [1]  = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMCOUNT1] as string);
          _values.m_ItemCount [2]  = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMCOUNT2] as string);
          _values.m_ItemCount [3]  = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMCOUNT3] as string);
          _values.m_ItemCount [4]  = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMCOUNT4] as string);
          _values.m_ItemCount [5]  = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMCOUNT5] as string);
          _values.m_ItemDataID [0] = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMDATAID0] as string);
          _values.m_ItemDataID [1] = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMDATAID1] as string);
          _values.m_ItemDataID [2] = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMDATAID2] as string);
          _values.m_ItemDataID [3] = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMDATAID3] as string);
          _values.m_ItemDataID [4] = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMDATAID4] as string);
          _values.m_ItemDataID [5] = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMDATAID5] as string);
          _values.m_RankPosHigh    = Convert.ToInt32(valuesList[(int)_ID.ID_RANKPOSHIGH] as string);
          _values.m_RankPosLow     = Convert.ToInt32(valuesList[(int)_ID.ID_RANKPOSLOW] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_RestaurantLevel _values = new Tab_RestaurantLevel();

          _values.m_AdditionPrecent = Convert.ToSingle(valuesList[(int)_ID.ID_ADDITIONPRECENT] as string);
          _values.m_Id         = Convert.ToInt32(valuesList[(int)_ID.ID_ID] as string);
          _values.m_LevelupExp = Convert.ToInt32(valuesList[(int)_ID.ID_LEVELUPEXP] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
Ejemplo n.º 8
0
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_SceneClass _values = new Tab_SceneClass();

          _values.m_AttackPosX [0]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSX1] as string);
          _values.m_AttackPosX [1]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSX2] as string);
          _values.m_AttackPosX [2]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSX3] as string);
          _values.m_AttackPosX [3]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSX4] as string);
          _values.m_AttackPosX [4]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSX5] as string);
          _values.m_AttackPosX [5]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSX6] as string);
          _values.m_AttackPosX [6]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSX7] as string);
          _values.m_AttackPosX [7]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSX8] as string);
          _values.m_AttackPosX [8]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSX9] as string);
          _values.m_AttackPosX [9]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSX10] as string);
          _values.m_AttackPosX [10]    = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSX11] as string);
          _values.m_AttackPosZ [0]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSZ1] as string);
          _values.m_AttackPosZ [1]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSZ2] as string);
          _values.m_AttackPosZ [2]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSZ3] as string);
          _values.m_AttackPosZ [3]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSZ4] as string);
          _values.m_AttackPosZ [4]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSZ5] as string);
          _values.m_AttackPosZ [5]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSZ6] as string);
          _values.m_AttackPosZ [6]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSZ7] as string);
          _values.m_AttackPosZ [7]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSZ8] as string);
          _values.m_AttackPosZ [8]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSZ9] as string);
          _values.m_AttackPosZ [9]     = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSZ10] as string);
          _values.m_AttackPosZ [10]    = Convert.ToSingle(valuesList[(int)_ID.ID_ATTACKPOSZ11] as string);
          _values.m_BGMusic            = Convert.ToInt32(valuesList[(int)_ID.ID_BGMUSIC] as string);
          _values.m_CopySceneID        = Convert.ToInt32(valuesList[(int)_ID.ID_COPYSCENEID] as string);
          _values.m_DefencePosX [0]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSX1] as string);
          _values.m_DefencePosX [1]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSX2] as string);
          _values.m_DefencePosX [2]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSX3] as string);
          _values.m_DefencePosX [3]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSX4] as string);
          _values.m_DefencePosX [4]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSX5] as string);
          _values.m_DefencePosX [5]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSX6] as string);
          _values.m_DefencePosX [6]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSX7] as string);
          _values.m_DefencePosX [7]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSX8] as string);
          _values.m_DefencePosX [8]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSX9] as string);
          _values.m_DefencePosX [9]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSX10] as string);
          _values.m_DefencePosX [10]   = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSX11] as string);
          _values.m_DefencePosZ [0]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSZ1] as string);
          _values.m_DefencePosZ [1]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSZ2] as string);
          _values.m_DefencePosZ [2]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSZ3] as string);
          _values.m_DefencePosZ [3]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSZ4] as string);
          _values.m_DefencePosZ [4]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSZ5] as string);
          _values.m_DefencePosZ [5]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSZ6] as string);
          _values.m_DefencePosZ [6]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSZ7] as string);
          _values.m_DefencePosZ [7]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSZ8] as string);
          _values.m_DefencePosZ [8]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSZ9] as string);
          _values.m_DefencePosZ [9]    = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSZ10] as string);
          _values.m_DefencePosZ [10]   = Convert.ToSingle(valuesList[(int)_ID.ID_DEFENCEPOSZ11] as string);
          _values.m_EdgeLength         = Convert.ToInt32(valuesList[(int)_ID.ID_EDGELENGTH] as string);
          _values.m_Length             = Convert.ToInt32(valuesList[(int)_ID.ID_LENGTH] as string);
          _values.m_Name               = valuesList[(int)_ID.ID_NAME] as string;
          _values.m_Obstacle           = valuesList[(int)_ID.ID_OBSTACLE] as string;
          _values.m_PlayerViewRadius   = Convert.ToInt32(valuesList[(int)_ID.ID_PLAYERVIEWRADIUS] as string);
          _values.m_ResName            = valuesList[(int)_ID.ID_RESNAME] as string;
          _values.m_SceneID            = Convert.ToInt32(valuesList[(int)_ID.ID_SCENEID] as string);
          _values.m_SceneMapHeight     = Convert.ToInt32(valuesList[(int)_ID.ID_SCENEMAPHEIGHT] as string);
          _values.m_SceneMapLogicWidth = Convert.ToInt32(valuesList[(int)_ID.ID_SCENEMAPLOGICWIDTH] as string);
          _values.m_SceneMapTexture    = valuesList[(int)_ID.ID_SCENEMAPTEXTURE] as string;
          _values.m_SceneMapWidth      = Convert.ToInt32(valuesList[(int)_ID.ID_SCENEMAPWIDTH] as string);
          _values.m_Type               = Convert.ToInt32(valuesList[(int)_ID.ID_TYPE] as string);
          _values.m_Width              = Convert.ToInt32(valuesList[(int)_ID.ID_WIDTH] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
Ejemplo n.º 9
0
      public void SerializableTable(ArrayList valuesList, string skey, Hashtable _hash)
      {
          if (string.IsNullOrEmpty(skey))
          {
              throw TableException.ErrorReader("Read File{0} as key is Empty Fail!!!", GetInstanceFile());
          }

          if ((int)_ID.MAX_RECORD != valuesList.Count)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Count);
          }
          Int32            nKey    = Convert.ToInt32(skey);
          Tab_CaptainPrice _values = new Tab_CaptainPrice();

          _values.m_LV [0]  = Convert.ToInt32(valuesList[(int)_ID.ID_LV1] as string);
          _values.m_LV [1]  = Convert.ToInt32(valuesList[(int)_ID.ID_LV2] as string);
          _values.m_LV [2]  = Convert.ToInt32(valuesList[(int)_ID.ID_LV3] as string);
          _values.m_LV [3]  = Convert.ToInt32(valuesList[(int)_ID.ID_LV4] as string);
          _values.m_LV [4]  = Convert.ToInt32(valuesList[(int)_ID.ID_LV5] as string);
          _values.m_LV [5]  = Convert.ToInt32(valuesList[(int)_ID.ID_LV6] as string);
          _values.m_LV [6]  = Convert.ToInt32(valuesList[(int)_ID.ID_LV7] as string);
          _values.m_LV [7]  = Convert.ToInt32(valuesList[(int)_ID.ID_LV8] as string);
          _values.m_LV [8]  = Convert.ToInt32(valuesList[(int)_ID.ID_LV9] as string);
          _values.m_LV [9]  = Convert.ToInt32(valuesList[(int)_ID.ID_LV10] as string);
          _values.m_LV [10] = Convert.ToInt32(valuesList[(int)_ID.ID_LV11] as string);
          _values.m_LV [11] = Convert.ToInt32(valuesList[(int)_ID.ID_LV12] as string);
          _values.m_LV [12] = Convert.ToInt32(valuesList[(int)_ID.ID_LV13] as string);
          _values.m_LV [13] = Convert.ToInt32(valuesList[(int)_ID.ID_LV14] as string);
          _values.m_LV [14] = Convert.ToInt32(valuesList[(int)_ID.ID_LV15] as string);
          _values.m_LV [15] = Convert.ToInt32(valuesList[(int)_ID.ID_LV16] as string);
          _values.m_LV [16] = Convert.ToInt32(valuesList[(int)_ID.ID_LV17] as string);
          _values.m_LV [17] = Convert.ToInt32(valuesList[(int)_ID.ID_LV18] as string);
          _values.m_LV [18] = Convert.ToInt32(valuesList[(int)_ID.ID_LV19] as string);
          _values.m_LV [19] = Convert.ToInt32(valuesList[(int)_ID.ID_LV20] as string);
          _values.m_LV [20] = Convert.ToInt32(valuesList[(int)_ID.ID_LV21] as string);
          _values.m_LV [21] = Convert.ToInt32(valuesList[(int)_ID.ID_LV22] as string);
          _values.m_LV [22] = Convert.ToInt32(valuesList[(int)_ID.ID_LV23] as string);
          _values.m_LV [23] = Convert.ToInt32(valuesList[(int)_ID.ID_LV24] as string);
          _values.m_LV [24] = Convert.ToInt32(valuesList[(int)_ID.ID_LV25] as string);
          _values.m_LV [25] = Convert.ToInt32(valuesList[(int)_ID.ID_LV26] as string);
          _values.m_LV [26] = Convert.ToInt32(valuesList[(int)_ID.ID_LV27] as string);
          _values.m_LV [27] = Convert.ToInt32(valuesList[(int)_ID.ID_LV28] as string);
          _values.m_LV [28] = Convert.ToInt32(valuesList[(int)_ID.ID_LV29] as string);
          _values.m_LV [29] = Convert.ToInt32(valuesList[(int)_ID.ID_LV30] as string);
          _values.m_LV [30] = Convert.ToInt32(valuesList[(int)_ID.ID_LV31] as string);
          _values.m_LV [31] = Convert.ToInt32(valuesList[(int)_ID.ID_LV32] as string);
          _values.m_LV [32] = Convert.ToInt32(valuesList[(int)_ID.ID_LV33] as string);
          _values.m_LV [33] = Convert.ToInt32(valuesList[(int)_ID.ID_LV34] as string);
          _values.m_LV [34] = Convert.ToInt32(valuesList[(int)_ID.ID_LV35] as string);
          _values.m_LV [35] = Convert.ToInt32(valuesList[(int)_ID.ID_LV36] as string);
          _values.m_LV [36] = Convert.ToInt32(valuesList[(int)_ID.ID_LV37] as string);
          _values.m_LV [37] = Convert.ToInt32(valuesList[(int)_ID.ID_LV38] as string);
          _values.m_LV [38] = Convert.ToInt32(valuesList[(int)_ID.ID_LV39] as string);
          _values.m_LV [39] = Convert.ToInt32(valuesList[(int)_ID.ID_LV40] as string);
          _values.m_LV [40] = Convert.ToInt32(valuesList[(int)_ID.ID_LV41] as string);
          _values.m_LV [41] = Convert.ToInt32(valuesList[(int)_ID.ID_LV42] as string);
          _values.m_LV [42] = Convert.ToInt32(valuesList[(int)_ID.ID_LV43] as string);
          _values.m_LV [43] = Convert.ToInt32(valuesList[(int)_ID.ID_LV44] as string);
          _values.m_LV [44] = Convert.ToInt32(valuesList[(int)_ID.ID_LV45] as string);
          _values.m_LV [45] = Convert.ToInt32(valuesList[(int)_ID.ID_LV46] as string);
          _values.m_LV [46] = Convert.ToInt32(valuesList[(int)_ID.ID_LV47] as string);
          _values.m_LV [47] = Convert.ToInt32(valuesList[(int)_ID.ID_LV48] as string);
          _values.m_LV [48] = Convert.ToInt32(valuesList[(int)_ID.ID_LV49] as string);
          _values.m_LV [49] = Convert.ToInt32(valuesList[(int)_ID.ID_LV50] as string);
          _values.m_LV [50] = Convert.ToInt32(valuesList[(int)_ID.ID_LV51] as string);
          _values.m_LV [51] = Convert.ToInt32(valuesList[(int)_ID.ID_LV52] as string);
          _values.m_LV [52] = Convert.ToInt32(valuesList[(int)_ID.ID_LV53] as string);
          _values.m_LV [53] = Convert.ToInt32(valuesList[(int)_ID.ID_LV54] as string);
          _values.m_LV [54] = Convert.ToInt32(valuesList[(int)_ID.ID_LV55] as string);
          _values.m_LV [55] = Convert.ToInt32(valuesList[(int)_ID.ID_LV56] as string);
          _values.m_LV [56] = Convert.ToInt32(valuesList[(int)_ID.ID_LV57] as string);
          _values.m_LV [57] = Convert.ToInt32(valuesList[(int)_ID.ID_LV58] as string);
          _values.m_LV [58] = Convert.ToInt32(valuesList[(int)_ID.ID_LV59] as string);
          _values.m_LV [59] = Convert.ToInt32(valuesList[(int)_ID.ID_LV60] as string);

          _hash.Add(nKey, _values);
      }
Ejemplo n.º 10
0
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_CabalFellowAttr _values = new Tab_CabalFellowAttr();

          _values.m_AttachAttackOffset     = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACHATTACKOFFSET] as string);
          _values.m_AttachAttackRatio      = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACHATTACKRATIO] as string);
          _values.m_AttachBlessOffset      = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACHBLESSOFFSET] as string);
          _values.m_AttachBlessRatio       = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACHBLESSRATIO] as string);
          _values.m_AttachCriticalOffset   = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACHCRITICALOFFSET] as string);
          _values.m_AttachCriticalRatio    = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACHCRITICALRATIO] as string);
          _values.m_AttachGuardOffset      = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACHGUARDOFFSET] as string);
          _values.m_AttachGuardRatio       = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACHGUARDRATIO] as string);
          _values.m_AttachHitOffset        = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACHHITOFFSET] as string);
          _values.m_AttachHitRatio         = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACHHITRATIO] as string);
          _values.m_AttackType             = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACKTYPE] as string);
          _values.m_BabyFellowId           = Convert.ToInt32(valuesList[(int)_ID.ID_BABYFELLOWID] as string);
          _values.m_BaseAttackDownBlue     = Convert.ToInt32(valuesList[(int)_ID.ID_BASEATTACKDOWN_BLUE] as string);
          _values.m_BaseAttackDownGreen    = Convert.ToInt32(valuesList[(int)_ID.ID_BASEATTACKDOWN_GREEN] as string);
          _values.m_BaseAttackDownOrange   = Convert.ToInt32(valuesList[(int)_ID.ID_BASEATTACKDOWN_ORANGE] as string);
          _values.m_BaseAttackDownPurple   = Convert.ToInt32(valuesList[(int)_ID.ID_BASEATTACKDOWN_PURPLE] as string);
          _values.m_BaseAttackDownWhite    = Convert.ToInt32(valuesList[(int)_ID.ID_BASEATTACKDOWN_WHITE] as string);
          _values.m_BaseAttackUpBlue       = Convert.ToInt32(valuesList[(int)_ID.ID_BASEATTACKUP_BLUE] as string);
          _values.m_BaseAttackUpGreen      = Convert.ToInt32(valuesList[(int)_ID.ID_BASEATTACKUP_GREEN] as string);
          _values.m_BaseAttackUpOrange     = Convert.ToInt32(valuesList[(int)_ID.ID_BASEATTACKUP_ORANGE] as string);
          _values.m_BaseAttackUpPurple     = Convert.ToInt32(valuesList[(int)_ID.ID_BASEATTACKUP_PURPLE] as string);
          _values.m_BaseAttackUpWhite      = Convert.ToInt32(valuesList[(int)_ID.ID_BASEATTACKUP_WHITE] as string);
          _values.m_BaseBlessDownBlue      = Convert.ToInt32(valuesList[(int)_ID.ID_BASEBLESSDOWN_BLUE] as string);
          _values.m_BaseBlessDownGreen     = Convert.ToInt32(valuesList[(int)_ID.ID_BASEBLESSDOWN_GREEN] as string);
          _values.m_BaseBlessDownOrange    = Convert.ToInt32(valuesList[(int)_ID.ID_BASEBLESSDOWN_ORANGE] as string);
          _values.m_BaseBlessDownPurple    = Convert.ToInt32(valuesList[(int)_ID.ID_BASEBLESSDOWN_PURPLE] as string);
          _values.m_BaseBlessDownWhite     = Convert.ToInt32(valuesList[(int)_ID.ID_BASEBLESSDOWN_WHITE] as string);
          _values.m_BaseBlessUpBlue        = Convert.ToInt32(valuesList[(int)_ID.ID_BASEBLESSUP_BLUE] as string);
          _values.m_BaseBlessUpGreen       = Convert.ToInt32(valuesList[(int)_ID.ID_BASEBLESSUP_GREEN] as string);
          _values.m_BaseBlessUpOrange      = Convert.ToInt32(valuesList[(int)_ID.ID_BASEBLESSUP_ORANGE] as string);
          _values.m_BaseBlessUpPurple      = Convert.ToInt32(valuesList[(int)_ID.ID_BASEBLESSUP_PURPLE] as string);
          _values.m_BaseBlessUpWhite       = Convert.ToInt32(valuesList[(int)_ID.ID_BASEBLESSUP_WHITE] as string);
          _values.m_BaseCriticalDownBlue   = Convert.ToInt32(valuesList[(int)_ID.ID_BASECRITICALDOWN_BLUE] as string);
          _values.m_BaseCriticalDownGreen  = Convert.ToInt32(valuesList[(int)_ID.ID_BASECRITICALDOWN_GREEN] as string);
          _values.m_BaseCriticalDownOrange = Convert.ToInt32(valuesList[(int)_ID.ID_BASECRITICALDOWN_ORANGE] as string);
          _values.m_BaseCriticalDownPurple = Convert.ToInt32(valuesList[(int)_ID.ID_BASECRITICALDOWN_PURPLE] as string);
          _values.m_BaseCriticalDownWhite  = Convert.ToInt32(valuesList[(int)_ID.ID_BASECRITICALDOWN_WHITE] as string);
          _values.m_BaseCriticalUpBlue     = Convert.ToInt32(valuesList[(int)_ID.ID_BASECRITICALUP_BLUE] as string);
          _values.m_BaseCriticalUpGreen    = Convert.ToInt32(valuesList[(int)_ID.ID_BASECRITICALUP_GREEN] as string);
          _values.m_BaseCriticalUpOrange   = Convert.ToInt32(valuesList[(int)_ID.ID_BASECRITICALUP_ORANGE] as string);
          _values.m_BaseCriticalUpPurple   = Convert.ToInt32(valuesList[(int)_ID.ID_BASECRITICALUP_PURPLE] as string);
          _values.m_BaseCriticalUpWhite    = Convert.ToInt32(valuesList[(int)_ID.ID_BASECRITICALUP_WHITE] as string);
          _values.m_BaseGuardDownBlue      = Convert.ToInt32(valuesList[(int)_ID.ID_BASEGUARDDOWN_BLUE] as string);
          _values.m_BaseGuardDownGreen     = Convert.ToInt32(valuesList[(int)_ID.ID_BASEGUARDDOWN_GREEN] as string);
          _values.m_BaseGuardDownOrange    = Convert.ToInt32(valuesList[(int)_ID.ID_BASEGUARDDOWN_ORANGE] as string);
          _values.m_BaseGuardDownPurple    = Convert.ToInt32(valuesList[(int)_ID.ID_BASEGUARDDOWN_PURPLE] as string);
          _values.m_BaseGuardDownWhite     = Convert.ToInt32(valuesList[(int)_ID.ID_BASEGUARDDOWN_WHITE] as string);
          _values.m_BaseGuardUpBlue        = Convert.ToInt32(valuesList[(int)_ID.ID_BASEGUARDUP_BLUE] as string);
          _values.m_BaseGuardUpGreen       = Convert.ToInt32(valuesList[(int)_ID.ID_BASEGUARDUP_GREEN] as string);
          _values.m_BaseGuardUpOrange      = Convert.ToInt32(valuesList[(int)_ID.ID_BASEGUARDUP_ORANGE] as string);
          _values.m_BaseGuardUpPurple      = Convert.ToInt32(valuesList[(int)_ID.ID_BASEGUARDUP_PURPLE] as string);
          _values.m_BaseGuardUpWhite       = Convert.ToInt32(valuesList[(int)_ID.ID_BASEGUARDUP_WHITE] as string);
          _values.m_BaseHitDownBlue        = Convert.ToInt32(valuesList[(int)_ID.ID_BASEHITDOWN_BLUE] as string);
          _values.m_BaseHitDownGreen       = Convert.ToInt32(valuesList[(int)_ID.ID_BASEHITDOWN_GREEN] as string);
          _values.m_BaseHitDownOrange      = Convert.ToInt32(valuesList[(int)_ID.ID_BASEHITDOWN_ORANGE] as string);
          _values.m_BaseHitDownPurple      = Convert.ToInt32(valuesList[(int)_ID.ID_BASEHITDOWN_PURPLE] as string);
          _values.m_BaseHitDownWhite       = Convert.ToInt32(valuesList[(int)_ID.ID_BASEHITDOWN_WHITE] as string);
          _values.m_BaseHitUpBlue          = Convert.ToInt32(valuesList[(int)_ID.ID_BASEHITUP_BLUE] as string);
          _values.m_BaseHitUpGreen         = Convert.ToInt32(valuesList[(int)_ID.ID_BASEHITUP_GREEN] as string);
          _values.m_BaseHitUpOrange        = Convert.ToInt32(valuesList[(int)_ID.ID_BASEHITUP_ORANGE] as string);
          _values.m_BaseHitUpPurple        = Convert.ToInt32(valuesList[(int)_ID.ID_BASEHITUP_PURPLE] as string);
          _values.m_BaseHitUpWhite         = Convert.ToInt32(valuesList[(int)_ID.ID_BASEHITUP_WHITE] as string);
          _values.m_BuyUseMoney            = Convert.ToInt32(valuesList[(int)_ID.ID_BUYUSEMONEY] as string);
          _values.m_CallLevel         = Convert.ToInt32(valuesList[(int)_ID.ID_CALLLEVEL] as string);
          _values.m_ClassId           = Convert.ToInt32(valuesList[(int)_ID.ID_CLASSID] as string);
          _values.m_ElementAttr       = Convert.ToInt32(valuesList[(int)_ID.ID_ELEMENTATTR] as string);
          _values.m_EvolveLevel       = Convert.ToInt32(valuesList[(int)_ID.ID_EVOLVELEVEL] as string);
          _values.m_FakeObjId         = Convert.ToInt32(valuesList[(int)_ID.ID_FAKEOBJID] as string);
          _values.m_FellowType        = Convert.ToInt32(valuesList[(int)_ID.ID_FELLOWTYPE] as string);
          _values.m_FirstSkillId      = Convert.ToInt32(valuesList[(int)_ID.ID_FIRSTSKILLID] as string);
          _values.m_Icon              = valuesList[(int)_ID.ID_ICON] as string;
          _values.m_Id                = Convert.ToInt32(valuesList[(int)_ID.ID_ID] as string);
          _values.m_LevelAddAttack    = Convert.ToInt32(valuesList[(int)_ID.ID_LEVELADDATTACK] as string);
          _values.m_LevelAddBless     = Convert.ToInt32(valuesList[(int)_ID.ID_LEVELADDBLESS] as string);
          _values.m_LevelAddCritical  = Convert.ToInt32(valuesList[(int)_ID.ID_LEVELADDCRITICAL] as string);
          _values.m_LevelAddGuard     = Convert.ToInt32(valuesList[(int)_ID.ID_LEVELADDGUARD] as string);
          _values.m_LevelAddHit       = Convert.ToInt32(valuesList[(int)_ID.ID_LEVELADDHIT] as string);
          _values.m_ModelId           = Convert.ToInt32(valuesList[(int)_ID.ID_MODELID] as string);
          _values.m_Name              = valuesList[(int)_ID.ID_NAME] as string;
          _values.m_StarExpBlue       = Convert.ToInt32(valuesList[(int)_ID.ID_STAREXP_BLUE] as string);
          _values.m_StarExpGreen      = Convert.ToInt32(valuesList[(int)_ID.ID_STAREXP_GREEN] as string);
          _values.m_StarExpOrange     = Convert.ToInt32(valuesList[(int)_ID.ID_STAREXP_ORANGE] as string);
          _values.m_StarExpPurple     = Convert.ToInt32(valuesList[(int)_ID.ID_STAREXP_PURPLE] as string);
          _values.m_StarExpWhite      = Convert.ToInt32(valuesList[(int)_ID.ID_STAREXP_WHITE] as string);
          _values.m_TallentSkill [0]  = Convert.ToInt32(valuesList[(int)_ID.ID_TALLENTSKILL1] as string);
          _values.m_TallentSkill [1]  = Convert.ToInt32(valuesList[(int)_ID.ID_TALLENTSKILL2] as string);
          _values.m_TallentSkill [2]  = Convert.ToInt32(valuesList[(int)_ID.ID_TALLENTSKILL3] as string);
          _values.m_TallentSkill [3]  = Convert.ToInt32(valuesList[(int)_ID.ID_TALLENTSKILL4] as string);
          _values.m_TallentSkill [4]  = Convert.ToInt32(valuesList[(int)_ID.ID_TALLENTSKILL5] as string);
          _values.m_TallentSkillCount = Convert.ToInt32(valuesList[(int)_ID.ID_TALLENTSKILLCOUNT] as string);
          _values.m_Valible           = Convert.ToInt32(valuesList[(int)_ID.ID_VALIBLE] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_SystemShop _values = new Tab_SystemShop();

          _values.m_CanBuyBack        = Convert.ToInt32(valuesList[(int)_ID.ID_CANBUYBACK] as string);
          _values.m_CanBuyMulty       = Convert.ToInt32(valuesList[(int)_ID.ID_CANBUYMULTY] as string);
          _values.m_Discount [0]      = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT1] as string);
          _values.m_Discount [1]      = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT2] as string);
          _values.m_Discount [2]      = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT3] as string);
          _values.m_Discount [3]      = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT4] as string);
          _values.m_Discount [4]      = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT5] as string);
          _values.m_Discount [5]      = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT6] as string);
          _values.m_Discount [6]      = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT7] as string);
          _values.m_Discount [7]      = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT8] as string);
          _values.m_Discount [8]      = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT9] as string);
          _values.m_Discount [9]      = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT10] as string);
          _values.m_Discount [10]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT11] as string);
          _values.m_Discount [11]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT12] as string);
          _values.m_Discount [12]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT13] as string);
          _values.m_Discount [13]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT14] as string);
          _values.m_Discount [14]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT15] as string);
          _values.m_Discount [15]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT16] as string);
          _values.m_Discount [16]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT17] as string);
          _values.m_Discount [17]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT18] as string);
          _values.m_Discount [18]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT19] as string);
          _values.m_Discount [19]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT20] as string);
          _values.m_Discount [20]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT21] as string);
          _values.m_Discount [21]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT22] as string);
          _values.m_Discount [22]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT23] as string);
          _values.m_Discount [23]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT24] as string);
          _values.m_Discount [24]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT25] as string);
          _values.m_Discount [25]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT26] as string);
          _values.m_Discount [26]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT27] as string);
          _values.m_Discount [27]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT28] as string);
          _values.m_Discount [28]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT29] as string);
          _values.m_Discount [29]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT30] as string);
          _values.m_Discount [30]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT31] as string);
          _values.m_Discount [31]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT32] as string);
          _values.m_Discount [32]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT33] as string);
          _values.m_Discount [33]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT34] as string);
          _values.m_Discount [34]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT35] as string);
          _values.m_Discount [35]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT36] as string);
          _values.m_Discount [36]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT37] as string);
          _values.m_Discount [37]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT38] as string);
          _values.m_Discount [38]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT39] as string);
          _values.m_Discount [39]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT40] as string);
          _values.m_Discount [40]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT41] as string);
          _values.m_Discount [41]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT42] as string);
          _values.m_Discount [42]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT43] as string);
          _values.m_Discount [43]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT44] as string);
          _values.m_Discount [44]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT45] as string);
          _values.m_Discount [45]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT46] as string);
          _values.m_Discount [46]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT47] as string);
          _values.m_Discount [47]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT48] as string);
          _values.m_Discount [48]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT49] as string);
          _values.m_Discount [49]     = Convert.ToInt32(valuesList[(int)_ID.ID_DISCOUNT50] as string);
          _values.m_Id                = Convert.ToInt32(valuesList[(int)_ID.ID_ID] as string);
          _values.m_IsBind [0]        = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND1] as string);
          _values.m_IsBind [1]        = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND2] as string);
          _values.m_IsBind [2]        = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND3] as string);
          _values.m_IsBind [3]        = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND4] as string);
          _values.m_IsBind [4]        = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND5] as string);
          _values.m_IsBind [5]        = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND6] as string);
          _values.m_IsBind [6]        = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND7] as string);
          _values.m_IsBind [7]        = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND8] as string);
          _values.m_IsBind [8]        = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND9] as string);
          _values.m_IsBind [9]        = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND10] as string);
          _values.m_IsBind [10]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND11] as string);
          _values.m_IsBind [11]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND12] as string);
          _values.m_IsBind [12]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND13] as string);
          _values.m_IsBind [13]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND14] as string);
          _values.m_IsBind [14]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND15] as string);
          _values.m_IsBind [15]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND16] as string);
          _values.m_IsBind [16]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND17] as string);
          _values.m_IsBind [17]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND18] as string);
          _values.m_IsBind [18]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND19] as string);
          _values.m_IsBind [19]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND20] as string);
          _values.m_IsBind [20]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND21] as string);
          _values.m_IsBind [21]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND22] as string);
          _values.m_IsBind [22]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND23] as string);
          _values.m_IsBind [23]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND24] as string);
          _values.m_IsBind [24]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND25] as string);
          _values.m_IsBind [25]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND26] as string);
          _values.m_IsBind [26]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND27] as string);
          _values.m_IsBind [27]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND28] as string);
          _values.m_IsBind [28]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND29] as string);
          _values.m_IsBind [29]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND30] as string);
          _values.m_IsBind [30]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND31] as string);
          _values.m_IsBind [31]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND32] as string);
          _values.m_IsBind [32]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND33] as string);
          _values.m_IsBind [33]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND34] as string);
          _values.m_IsBind [34]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND35] as string);
          _values.m_IsBind [35]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND36] as string);
          _values.m_IsBind [36]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND37] as string);
          _values.m_IsBind [37]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND38] as string);
          _values.m_IsBind [38]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND39] as string);
          _values.m_IsBind [39]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND40] as string);
          _values.m_IsBind [40]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND41] as string);
          _values.m_IsBind [41]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND42] as string);
          _values.m_IsBind [42]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND43] as string);
          _values.m_IsBind [43]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND44] as string);
          _values.m_IsBind [44]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND45] as string);
          _values.m_IsBind [45]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND46] as string);
          _values.m_IsBind [46]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND47] as string);
          _values.m_IsBind [47]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND48] as string);
          _values.m_IsBind [48]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND49] as string);
          _values.m_IsBind [49]       = Convert.ToInt32(valuesList[(int)_ID.ID_ISBIND50] as string);
          _values.m_IsDynamic         = Convert.ToInt32(valuesList[(int)_ID.ID_ISDYNAMIC] as string);
          _values.m_MoneySubType [0]  = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE1] as string);
          _values.m_MoneySubType [1]  = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE2] as string);
          _values.m_MoneySubType [2]  = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE3] as string);
          _values.m_MoneySubType [3]  = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE4] as string);
          _values.m_MoneySubType [4]  = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE5] as string);
          _values.m_MoneySubType [5]  = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE6] as string);
          _values.m_MoneySubType [6]  = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE7] as string);
          _values.m_MoneySubType [7]  = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE8] as string);
          _values.m_MoneySubType [8]  = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE9] as string);
          _values.m_MoneySubType [9]  = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE10] as string);
          _values.m_MoneySubType [10] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE11] as string);
          _values.m_MoneySubType [11] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE12] as string);
          _values.m_MoneySubType [12] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE13] as string);
          _values.m_MoneySubType [13] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE14] as string);
          _values.m_MoneySubType [14] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE15] as string);
          _values.m_MoneySubType [15] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE16] as string);
          _values.m_MoneySubType [16] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE17] as string);
          _values.m_MoneySubType [17] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE18] as string);
          _values.m_MoneySubType [18] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE19] as string);
          _values.m_MoneySubType [19] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE20] as string);
          _values.m_MoneySubType [20] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE21] as string);
          _values.m_MoneySubType [21] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE22] as string);
          _values.m_MoneySubType [22] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE23] as string);
          _values.m_MoneySubType [23] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE24] as string);
          _values.m_MoneySubType [24] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE25] as string);
          _values.m_MoneySubType [25] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE26] as string);
          _values.m_MoneySubType [26] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE27] as string);
          _values.m_MoneySubType [27] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE28] as string);
          _values.m_MoneySubType [28] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE29] as string);
          _values.m_MoneySubType [29] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE30] as string);
          _values.m_MoneySubType [30] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE31] as string);
          _values.m_MoneySubType [31] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE32] as string);
          _values.m_MoneySubType [32] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE33] as string);
          _values.m_MoneySubType [33] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE34] as string);
          _values.m_MoneySubType [34] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE35] as string);
          _values.m_MoneySubType [35] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE36] as string);
          _values.m_MoneySubType [36] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE37] as string);
          _values.m_MoneySubType [37] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE38] as string);
          _values.m_MoneySubType [38] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE39] as string);
          _values.m_MoneySubType [39] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE40] as string);
          _values.m_MoneySubType [40] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE41] as string);
          _values.m_MoneySubType [41] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE42] as string);
          _values.m_MoneySubType [42] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE43] as string);
          _values.m_MoneySubType [43] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE44] as string);
          _values.m_MoneySubType [44] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE45] as string);
          _values.m_MoneySubType [45] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE46] as string);
          _values.m_MoneySubType [46] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE47] as string);
          _values.m_MoneySubType [47] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE48] as string);
          _values.m_MoneySubType [48] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE49] as string);
          _values.m_MoneySubType [49] = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYSUBTYPE50] as string);
          _values.m_MoneyType [0]     = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE1] as string);
          _values.m_MoneyType [1]     = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE2] as string);
          _values.m_MoneyType [2]     = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE3] as string);
          _values.m_MoneyType [3]     = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE4] as string);
          _values.m_MoneyType [4]     = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE5] as string);
          _values.m_MoneyType [5]     = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE6] as string);
          _values.m_MoneyType [6]     = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE7] as string);
          _values.m_MoneyType [7]     = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE8] as string);
          _values.m_MoneyType [8]     = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE9] as string);
          _values.m_MoneyType [9]     = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE10] as string);
          _values.m_MoneyType [10]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE11] as string);
          _values.m_MoneyType [11]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE12] as string);
          _values.m_MoneyType [12]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE13] as string);
          _values.m_MoneyType [13]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE14] as string);
          _values.m_MoneyType [14]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE15] as string);
          _values.m_MoneyType [15]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE16] as string);
          _values.m_MoneyType [16]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE17] as string);
          _values.m_MoneyType [17]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE18] as string);
          _values.m_MoneyType [18]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE19] as string);
          _values.m_MoneyType [19]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE20] as string);
          _values.m_MoneyType [20]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE21] as string);
          _values.m_MoneyType [21]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE22] as string);
          _values.m_MoneyType [22]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE23] as string);
          _values.m_MoneyType [23]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE24] as string);
          _values.m_MoneyType [24]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE25] as string);
          _values.m_MoneyType [25]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE26] as string);
          _values.m_MoneyType [26]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE27] as string);
          _values.m_MoneyType [27]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE28] as string);
          _values.m_MoneyType [28]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE29] as string);
          _values.m_MoneyType [29]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE30] as string);
          _values.m_MoneyType [30]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE31] as string);
          _values.m_MoneyType [31]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE32] as string);
          _values.m_MoneyType [32]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE33] as string);
          _values.m_MoneyType [33]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE34] as string);
          _values.m_MoneyType [34]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE35] as string);
          _values.m_MoneyType [35]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE36] as string);
          _values.m_MoneyType [36]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE37] as string);
          _values.m_MoneyType [37]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE38] as string);
          _values.m_MoneyType [38]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE39] as string);
          _values.m_MoneyType [39]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE40] as string);
          _values.m_MoneyType [40]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE41] as string);
          _values.m_MoneyType [41]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE42] as string);
          _values.m_MoneyType [42]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE43] as string);
          _values.m_MoneyType [43]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE44] as string);
          _values.m_MoneyType [44]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE45] as string);
          _values.m_MoneyType [45]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE46] as string);
          _values.m_MoneyType [46]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE47] as string);
          _values.m_MoneyType [47]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE48] as string);
          _values.m_MoneyType [48]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE49] as string);
          _values.m_MoneyType [49]    = Convert.ToInt32(valuesList[(int)_ID.ID_MONEYTYPE50] as string);
          _values.m_Name              = valuesList[(int)_ID.ID_NAME] as string;
          _values.m_NumPerGroup [0]   = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP1] as string);
          _values.m_NumPerGroup [1]   = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP2] as string);
          _values.m_NumPerGroup [2]   = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP3] as string);
          _values.m_NumPerGroup [3]   = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP4] as string);
          _values.m_NumPerGroup [4]   = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP5] as string);
          _values.m_NumPerGroup [5]   = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP6] as string);
          _values.m_NumPerGroup [6]   = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP7] as string);
          _values.m_NumPerGroup [7]   = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP8] as string);
          _values.m_NumPerGroup [8]   = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP9] as string);
          _values.m_NumPerGroup [9]   = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP10] as string);
          _values.m_NumPerGroup [10]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP11] as string);
          _values.m_NumPerGroup [11]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP12] as string);
          _values.m_NumPerGroup [12]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP13] as string);
          _values.m_NumPerGroup [13]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP14] as string);
          _values.m_NumPerGroup [14]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP15] as string);
          _values.m_NumPerGroup [15]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP16] as string);
          _values.m_NumPerGroup [16]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP17] as string);
          _values.m_NumPerGroup [17]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP18] as string);
          _values.m_NumPerGroup [18]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP19] as string);
          _values.m_NumPerGroup [19]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP20] as string);
          _values.m_NumPerGroup [20]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP21] as string);
          _values.m_NumPerGroup [21]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP22] as string);
          _values.m_NumPerGroup [22]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP23] as string);
          _values.m_NumPerGroup [23]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP24] as string);
          _values.m_NumPerGroup [24]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP25] as string);
          _values.m_NumPerGroup [25]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP26] as string);
          _values.m_NumPerGroup [26]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP27] as string);
          _values.m_NumPerGroup [27]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP28] as string);
          _values.m_NumPerGroup [28]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP29] as string);
          _values.m_NumPerGroup [29]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP30] as string);
          _values.m_NumPerGroup [30]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP31] as string);
          _values.m_NumPerGroup [31]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP32] as string);
          _values.m_NumPerGroup [32]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP33] as string);
          _values.m_NumPerGroup [33]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP34] as string);
          _values.m_NumPerGroup [34]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP35] as string);
          _values.m_NumPerGroup [35]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP36] as string);
          _values.m_NumPerGroup [36]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP37] as string);
          _values.m_NumPerGroup [37]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP38] as string);
          _values.m_NumPerGroup [38]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP39] as string);
          _values.m_NumPerGroup [39]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP40] as string);
          _values.m_NumPerGroup [40]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP41] as string);
          _values.m_NumPerGroup [41]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP42] as string);
          _values.m_NumPerGroup [42]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP43] as string);
          _values.m_NumPerGroup [43]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP44] as string);
          _values.m_NumPerGroup [44]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP45] as string);
          _values.m_NumPerGroup [45]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP46] as string);
          _values.m_NumPerGroup [46]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP47] as string);
          _values.m_NumPerGroup [47]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP48] as string);
          _values.m_NumPerGroup [48]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP49] as string);
          _values.m_NumPerGroup [49]  = Convert.ToInt32(valuesList[(int)_ID.ID_NUMPERGROUP50] as string);
          _values.m_Pid [0]           = Convert.ToInt32(valuesList[(int)_ID.ID_PID1] as string);
          _values.m_Pid [1]           = Convert.ToInt32(valuesList[(int)_ID.ID_PID2] as string);
          _values.m_Pid [2]           = Convert.ToInt32(valuesList[(int)_ID.ID_PID3] as string);
          _values.m_Pid [3]           = Convert.ToInt32(valuesList[(int)_ID.ID_PID4] as string);
          _values.m_Pid [4]           = Convert.ToInt32(valuesList[(int)_ID.ID_PID5] as string);
          _values.m_Pid [5]           = Convert.ToInt32(valuesList[(int)_ID.ID_PID6] as string);
          _values.m_Pid [6]           = Convert.ToInt32(valuesList[(int)_ID.ID_PID7] as string);
          _values.m_Pid [7]           = Convert.ToInt32(valuesList[(int)_ID.ID_PID8] as string);
          _values.m_Pid [8]           = Convert.ToInt32(valuesList[(int)_ID.ID_PID9] as string);
          _values.m_Pid [9]           = Convert.ToInt32(valuesList[(int)_ID.ID_PID10] as string);
          _values.m_Pid [10]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID11] as string);
          _values.m_Pid [11]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID12] as string);
          _values.m_Pid [12]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID13] as string);
          _values.m_Pid [13]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID14] as string);
          _values.m_Pid [14]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID15] as string);
          _values.m_Pid [15]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID16] as string);
          _values.m_Pid [16]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID17] as string);
          _values.m_Pid [17]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID18] as string);
          _values.m_Pid [18]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID19] as string);
          _values.m_Pid [19]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID20] as string);
          _values.m_Pid [20]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID21] as string);
          _values.m_Pid [21]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID22] as string);
          _values.m_Pid [22]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID23] as string);
          _values.m_Pid [23]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID24] as string);
          _values.m_Pid [24]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID25] as string);
          _values.m_Pid [25]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID26] as string);
          _values.m_Pid [26]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID27] as string);
          _values.m_Pid [27]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID28] as string);
          _values.m_Pid [28]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID29] as string);
          _values.m_Pid [29]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID30] as string);
          _values.m_Pid [30]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID31] as string);
          _values.m_Pid [31]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID32] as string);
          _values.m_Pid [32]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID33] as string);
          _values.m_Pid [33]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID34] as string);
          _values.m_Pid [34]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID35] as string);
          _values.m_Pid [35]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID36] as string);
          _values.m_Pid [36]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID37] as string);
          _values.m_Pid [37]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID38] as string);
          _values.m_Pid [38]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID39] as string);
          _values.m_Pid [39]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID40] as string);
          _values.m_Pid [40]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID41] as string);
          _values.m_Pid [41]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID42] as string);
          _values.m_Pid [42]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID43] as string);
          _values.m_Pid [43]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID44] as string);
          _values.m_Pid [44]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID45] as string);
          _values.m_Pid [45]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID46] as string);
          _values.m_Pid [46]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID47] as string);
          _values.m_Pid [47]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID48] as string);
          _values.m_Pid [48]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID49] as string);
          _values.m_Pid [49]          = Convert.ToInt32(valuesList[(int)_ID.ID_PID50] as string);
          _values.m_Pnum              = Convert.ToInt32(valuesList[(int)_ID.ID_PNUM] as string);
          _values.m_Price [0]         = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE1] as string);
          _values.m_Price [1]         = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE2] as string);
          _values.m_Price [2]         = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE3] as string);
          _values.m_Price [3]         = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE4] as string);
          _values.m_Price [4]         = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE5] as string);
          _values.m_Price [5]         = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE6] as string);
          _values.m_Price [6]         = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE7] as string);
          _values.m_Price [7]         = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE8] as string);
          _values.m_Price [8]         = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE9] as string);
          _values.m_Price [9]         = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE10] as string);
          _values.m_Price [10]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE11] as string);
          _values.m_Price [11]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE12] as string);
          _values.m_Price [12]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE13] as string);
          _values.m_Price [13]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE14] as string);
          _values.m_Price [14]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE15] as string);
          _values.m_Price [15]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE16] as string);
          _values.m_Price [16]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE17] as string);
          _values.m_Price [17]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE18] as string);
          _values.m_Price [18]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE19] as string);
          _values.m_Price [19]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE20] as string);
          _values.m_Price [20]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE21] as string);
          _values.m_Price [21]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE22] as string);
          _values.m_Price [22]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE23] as string);
          _values.m_Price [23]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE24] as string);
          _values.m_Price [24]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE25] as string);
          _values.m_Price [25]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE26] as string);
          _values.m_Price [26]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE27] as string);
          _values.m_Price [27]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE28] as string);
          _values.m_Price [28]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE29] as string);
          _values.m_Price [29]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE30] as string);
          _values.m_Price [30]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE31] as string);
          _values.m_Price [31]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE32] as string);
          _values.m_Price [32]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE33] as string);
          _values.m_Price [33]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE34] as string);
          _values.m_Price [34]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE35] as string);
          _values.m_Price [35]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE36] as string);
          _values.m_Price [36]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE37] as string);
          _values.m_Price [37]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE38] as string);
          _values.m_Price [38]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE39] as string);
          _values.m_Price [39]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE40] as string);
          _values.m_Price [40]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE41] as string);
          _values.m_Price [41]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE42] as string);
          _values.m_Price [42]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE43] as string);
          _values.m_Price [43]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE44] as string);
          _values.m_Price [44]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE45] as string);
          _values.m_Price [45]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE46] as string);
          _values.m_Price [46]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE47] as string);
          _values.m_Price [47]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE48] as string);
          _values.m_Price [48]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE49] as string);
          _values.m_Price [49]        = Convert.ToInt32(valuesList[(int)_ID.ID_PRICE50] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
Ejemplo n.º 12
0
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_Belle _values = new Tab_Belle();

          _values.m_AffectionConditonType [0]  = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONCONDITONTYPE_1] as string);
          _values.m_AffectionConditonType [1]  = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONCONDITONTYPE_2] as string);
          _values.m_AffectionConditonType [2]  = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONCONDITONTYPE_3] as string);
          _values.m_AffectionConditonValue [0] = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONCONDITONVALUE_1] as string);
          _values.m_AffectionConditonValue [1] = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONCONDITONVALUE_2] as string);
          _values.m_AffectionConditonValue [2] = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONCONDITONVALUE_3] as string);
          _values.m_AffectionDesc [0]          = valuesList[(int)_ID.ID_AFFECTIONDESC_1] as string;
          _values.m_AffectionDesc [1]          = valuesList[(int)_ID.ID_AFFECTIONDESC_2] as string;
          _values.m_AffectionDesc [2]          = valuesList[(int)_ID.ID_AFFECTIONDESC_3] as string;
          _values.m_AffectionGainsType [0]     = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONGAINSTYPE_1] as string);
          _values.m_AffectionGainsType [1]     = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONGAINSTYPE_2] as string);
          _values.m_AffectionGainsType [2]     = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONGAINSTYPE_3] as string);
          _values.m_AffectionGainsValue [0]    = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONGAINSVALUE_1] as string);
          _values.m_AffectionGainsValue [1]    = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONGAINSVALUE_2] as string);
          _values.m_AffectionGainsValue [2]    = Convert.ToInt32(valuesList[(int)_ID.ID_AFFECTIONGAINSVALUE_3] as string);
          _values.m_AffectionName [0]          = valuesList[(int)_ID.ID_AFFECTIONNAME_1] as string;
          _values.m_AffectionName [1]          = valuesList[(int)_ID.ID_AFFECTIONNAME_2] as string;
          _values.m_AffectionName [2]          = valuesList[(int)_ID.ID_AFFECTIONNAME_3] as string;
          _values.m_AttrType [0]     = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRTYPE_1] as string);
          _values.m_AttrType [1]     = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRTYPE_2] as string);
          _values.m_AttrType [2]     = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRTYPE_3] as string);
          _values.m_AttrType [3]     = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRTYPE_4] as string);
          _values.m_AttrType [4]     = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRTYPE_5] as string);
          _values.m_AttrType [5]     = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRTYPE_6] as string);
          _values.m_AttrValue [0]    = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRVALUE_1] as string);
          _values.m_AttrValue [1]    = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRVALUE_2] as string);
          _values.m_AttrValue [2]    = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRVALUE_3] as string);
          _values.m_AttrValue [3]    = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRVALUE_4] as string);
          _values.m_AttrValue [4]    = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRVALUE_5] as string);
          _values.m_AttrValue [5]    = Convert.ToInt32(valuesList[(int)_ID.ID_ATTRVALUE_6] as string);
          _values.m_BelleItemCount   = Convert.ToInt32(valuesList[(int)_ID.ID_BELLEITEMCOUNT] as string);
          _values.m_BelleItemID      = Convert.ToInt32(valuesList[(int)_ID.ID_BELLEITEMID] as string);
          _values.m_BigTexName [0]   = valuesList[(int)_ID.ID_BIGTEXNAME_1] as string;
          _values.m_BigTexName [1]   = valuesList[(int)_ID.ID_BIGTEXNAME_2] as string;
          _values.m_BigTexName [2]   = valuesList[(int)_ID.ID_BIGTEXNAME_3] as string;
          _values.m_CloseAddAttrType = Convert.ToInt32(valuesList[(int)_ID.ID_CLOSEADDATTRTYPE] as string);
          _values.m_IconTexName      = valuesList[(int)_ID.ID_ICONTEXNAME] as string;
          _values.m_Id           = Convert.ToInt32(valuesList[(int)_ID.ID_ID] as string);
          _values.m_Introduction = valuesList[(int)_ID.ID_INTRODUCTION] as string;
          _values.m_Name         = valuesList[(int)_ID.ID_NAME] as string;
          _values.m_Nature       = Convert.ToInt32(valuesList[(int)_ID.ID_NATURE] as string);
          _values.m_Quality      = Convert.ToInt32(valuesList[(int)_ID.ID_QUALITY] as string);
          _values.m_WayIdS       = valuesList[(int)_ID.ID_WAYIDS] as string;

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
Ejemplo n.º 13
0
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_VipBook _values = new Tab_VipBook();

          _values.m_AddCount              = Convert.ToInt32(valuesList[(int)_ID.ID_ADDCOUNT] as string);
          _values.m_BuyCount [0]          = Convert.ToInt32(valuesList[(int)_ID.ID_BUYCOUNT0] as string);
          _values.m_BuyCount [1]          = Convert.ToInt32(valuesList[(int)_ID.ID_BUYCOUNT1] as string);
          _values.m_BuyCount [2]          = Convert.ToInt32(valuesList[(int)_ID.ID_BUYCOUNT2] as string);
          _values.m_BuyCount [3]          = Convert.ToInt32(valuesList[(int)_ID.ID_BUYCOUNT3] as string);
          _values.m_BuyCount [4]          = Convert.ToInt32(valuesList[(int)_ID.ID_BUYCOUNT4] as string);
          _values.m_BuyCount [5]          = Convert.ToInt32(valuesList[(int)_ID.ID_BUYCOUNT5] as string);
          _values.m_BuyStorySceneCount    = Convert.ToInt32(valuesList[(int)_ID.ID_BUYSTORYSCENECOUNT] as string);
          _values.m_BuyTeamSceneCount [0] = Convert.ToInt32(valuesList[(int)_ID.ID_BUYTEAMSCENECOUNT0] as string);
          _values.m_BuyTeamSceneCount [1] = Convert.ToInt32(valuesList[(int)_ID.ID_BUYTEAMSCENECOUNT1] as string);
          _values.m_BuyTeamSceneCount [2] = Convert.ToInt32(valuesList[(int)_ID.ID_BUYTEAMSCENECOUNT2] as string);
          _values.m_HiChallenge           = Convert.ToInt32(valuesList[(int)_ID.ID_HICHALLENGE] as string);
          _values.m_Id                   = Convert.ToInt32(valuesList[(int)_ID.ID_ID] as string);
          _values.m_ItemCount            = Convert.ToInt32(valuesList[(int)_ID.ID_ITEMCOUNT] as string);
          _values.m_New1AddCount         = Convert.ToInt32(valuesList[(int)_ID.ID_NEW1ADDCOUNT] as string);
          _values.m_New1VipAdd [0]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW1VIPADD1] as string);
          _values.m_New1VipAdd [1]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW1VIPADD2] as string);
          _values.m_New1VipAdd [2]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW1VIPADD3] as string);
          _values.m_New1VipAdd [3]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW1VIPADD4] as string);
          _values.m_New1VipAdd [4]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW1VIPADD5] as string);
          _values.m_New2AddCount         = Convert.ToInt32(valuesList[(int)_ID.ID_NEW2ADDCOUNT] as string);
          _values.m_New2VipAdd [0]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW2VIPADD1] as string);
          _values.m_New2VipAdd [1]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW2VIPADD2] as string);
          _values.m_New2VipAdd [2]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW2VIPADD3] as string);
          _values.m_New2VipAdd [3]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW2VIPADD4] as string);
          _values.m_New2VipAdd [4]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW2VIPADD5] as string);
          _values.m_New3AddCount         = Convert.ToInt32(valuesList[(int)_ID.ID_NEW3ADDCOUNT] as string);
          _values.m_New3VipAdd [0]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW3VIPADD1] as string);
          _values.m_New3VipAdd [1]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW3VIPADD2] as string);
          _values.m_New3VipAdd [2]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW3VIPADD3] as string);
          _values.m_New3VipAdd [3]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW3VIPADD4] as string);
          _values.m_New3VipAdd [4]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW3VIPADD5] as string);
          _values.m_New4AddCount         = Convert.ToInt32(valuesList[(int)_ID.ID_NEW4ADDCOUNT] as string);
          _values.m_New4VipAdd [0]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW4VIPADD1] as string);
          _values.m_New4VipAdd [1]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW4VIPADD2] as string);
          _values.m_New4VipAdd [2]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW4VIPADD3] as string);
          _values.m_New4VipAdd [3]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW4VIPADD4] as string);
          _values.m_New4VipAdd [4]       = Convert.ToInt32(valuesList[(int)_ID.ID_NEW4VIPADD5] as string);
          _values.m_SDCost               = Convert.ToInt32(valuesList[(int)_ID.ID_SDCOST] as string);
          _values.m_SceneId [0]          = Convert.ToInt32(valuesList[(int)_ID.ID_SCENEID0] as string);
          _values.m_SceneId [1]          = Convert.ToInt32(valuesList[(int)_ID.ID_SCENEID1] as string);
          _values.m_SceneId [2]          = Convert.ToInt32(valuesList[(int)_ID.ID_SCENEID2] as string);
          _values.m_SceneId [3]          = Convert.ToInt32(valuesList[(int)_ID.ID_SCENEID3] as string);
          _values.m_SceneId [4]          = Convert.ToInt32(valuesList[(int)_ID.ID_SCENEID4] as string);
          _values.m_SceneId [5]          = Convert.ToInt32(valuesList[(int)_ID.ID_SCENEID5] as string);
          _values.m_SceneTower           = Convert.ToInt32(valuesList[(int)_ID.ID_SCENETOWER] as string);
          _values.m_StorySceneId         = Convert.ToInt32(valuesList[(int)_ID.ID_STORYSCENEID] as string);
          _values.m_StorySceneSweepCount = Convert.ToInt32(valuesList[(int)_ID.ID_STORYSCENESWEEPCOUNT] as string);
          _values.m_SweepCount [0]       = Convert.ToInt32(valuesList[(int)_ID.ID_SWEEPCOUNT0] as string);
          _values.m_SweepCount [1]       = Convert.ToInt32(valuesList[(int)_ID.ID_SWEEPCOUNT1] as string);
          _values.m_SweepCount [2]       = Convert.ToInt32(valuesList[(int)_ID.ID_SWEEPCOUNT2] as string);
          _values.m_SweepCount [3]       = Convert.ToInt32(valuesList[(int)_ID.ID_SWEEPCOUNT3] as string);
          _values.m_SweepCount [4]       = Convert.ToInt32(valuesList[(int)_ID.ID_SWEEPCOUNT4] as string);
          _values.m_SweepCount [5]       = Convert.ToInt32(valuesList[(int)_ID.ID_SWEEPCOUNT5] as string);
          _values.m_TeamSceneId [0]      = Convert.ToInt32(valuesList[(int)_ID.ID_TEAMSCENEID0] as string);
          _values.m_TeamSceneId [1]      = Convert.ToInt32(valuesList[(int)_ID.ID_TEAMSCENEID1] as string);
          _values.m_TeamSceneId [2]      = Convert.ToInt32(valuesList[(int)_ID.ID_TEAMSCENEID2] as string);
          _values.m_VipAdd [0]           = Convert.ToInt32(valuesList[(int)_ID.ID_VIPADD1] as string);
          _values.m_VipAdd [1]           = Convert.ToInt32(valuesList[(int)_ID.ID_VIPADD2] as string);
          _values.m_VipAdd [2]           = Convert.ToInt32(valuesList[(int)_ID.ID_VIPADD3] as string);
          _values.m_VipAdd [3]           = Convert.ToInt32(valuesList[(int)_ID.ID_VIPADD4] as string);
          _values.m_VipAdd [4]           = Convert.ToInt32(valuesList[(int)_ID.ID_VIPADD5] as string);
          _values.m_VipBag               = Convert.ToInt32(valuesList[(int)_ID.ID_VIPBAG] as string);
          _values.m_VipCost              = Convert.ToInt32(valuesList[(int)_ID.ID_VIPCOST] as string);
          _values.m_VipItem [0]          = Convert.ToInt32(valuesList[(int)_ID.ID_VIPITEM1] as string);
          _values.m_VipItem [1]          = Convert.ToInt32(valuesList[(int)_ID.ID_VIPITEM2] as string);
          _values.m_VipItem [2]          = Convert.ToInt32(valuesList[(int)_ID.ID_VIPITEM3] as string);
          _values.m_VipItem [3]          = Convert.ToInt32(valuesList[(int)_ID.ID_VIPITEM4] as string);
          _values.m_VipItem [4]          = Convert.ToInt32(valuesList[(int)_ID.ID_VIPITEM5] as string);
          _values.m_VipMoneyTree         = Convert.ToInt32(valuesList[(int)_ID.ID_VIPMONEYTREE] as string);
          _values.m_VipStorage           = Convert.ToInt32(valuesList[(int)_ID.ID_VIPSTORAGE] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
Ejemplo n.º 14
0
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_SkillEx _values = new Tab_SkillEx();

          _values.m_BaseId                = Convert.ToInt32(valuesList[(int)_ID.ID_BASEID] as string);
          _values.m_BulletEffectID [0]    = Convert.ToInt32(valuesList[(int)_ID.ID_BULLETEFFECTID_01] as string);
          _values.m_BulletEffectID [1]    = Convert.ToInt32(valuesList[(int)_ID.ID_BULLETEFFECTID_02] as string);
          _values.m_BulletEffectID [2]    = Convert.ToInt32(valuesList[(int)_ID.ID_BULLETEFFECTID_03] as string);
          _values.m_CDTimeId              = Convert.ToInt32(valuesList[(int)_ID.ID_CDTIMEID] as string);
          _values.m_CameraRockId          = Convert.ToInt32(valuesList[(int)_ID.ID_CAMERAROCKID] as string);
          _values.m_CameraRockRate        = Convert.ToInt32(valuesList[(int)_ID.ID_CAMERAROCKRATE] as string);
          _values.m_CombatValue           = Convert.ToInt32(valuesList[(int)_ID.ID_COMBATVALUE] as string);
          _values.m_DelNum [0]            = Convert.ToInt32(valuesList[(int)_ID.ID_DELNUM_01] as string);
          _values.m_DelNum [1]            = Convert.ToInt32(valuesList[(int)_ID.ID_DELNUM_02] as string);
          _values.m_DelType [0]           = Convert.ToInt32(valuesList[(int)_ID.ID_DELTYPE_01] as string);
          _values.m_DelType [1]           = Convert.ToInt32(valuesList[(int)_ID.ID_DELTYPE_02] as string);
          _values.m_EndMotionId           = Convert.ToInt32(valuesList[(int)_ID.ID_ENDMOTIONID] as string);
          _values.m_GainsNum [0]          = Convert.ToInt32(valuesList[(int)_ID.ID_GAINSNUM_01] as string);
          _values.m_GainsNum [1]          = Convert.ToInt32(valuesList[(int)_ID.ID_GAINSNUM_02] as string);
          _values.m_GainsType [0]         = Convert.ToInt32(valuesList[(int)_ID.ID_GAINSTYPE_01] as string);
          _values.m_GainsType [1]         = Convert.ToInt32(valuesList[(int)_ID.ID_GAINSTYPE_02] as string);
          _values.m_HasRangeWarning       = Convert.ToInt32(valuesList[(int)_ID.ID_HASRANGEWARNING] as string);
          _values.m_Impact [0]            = Convert.ToInt32(valuesList[(int)_ID.ID_IMPACT_01] as string);
          _values.m_Impact [1]            = Convert.ToInt32(valuesList[(int)_ID.ID_IMPACT_2] as string);
          _values.m_Impact [2]            = Convert.ToInt32(valuesList[(int)_ID.ID_IMPACT_03] as string);
          _values.m_Impact [3]            = Convert.ToInt32(valuesList[(int)_ID.ID_IMPACT_04] as string);
          _values.m_Impact [4]            = Convert.ToInt32(valuesList[(int)_ID.ID_IMPACT_05] as string);
          _values.m_Impact [5]            = Convert.ToInt32(valuesList[(int)_ID.ID_IMPACT_06] as string);
          _values.m_LogicParam [0]        = Convert.ToInt32(valuesList[(int)_ID.ID_LOGICPARAM01] as string);
          _values.m_LogicParam [1]        = Convert.ToInt32(valuesList[(int)_ID.ID_LOGICPARAM02] as string);
          _values.m_LogicParam [2]        = Convert.ToInt32(valuesList[(int)_ID.ID_LOGICPARAM03] as string);
          _values.m_LogicParam [3]        = Convert.ToInt32(valuesList[(int)_ID.ID_LOGICPARAM04] as string);
          _values.m_NextContinueSkillId   = Convert.ToInt32(valuesList[(int)_ID.ID_NEXTCONTINUESKILLID] as string);
          _values.m_NextSkillDisabledTime = Convert.ToInt32(valuesList[(int)_ID.ID_NEXTSKILLDISABLEDTIME] as string);
          _values.m_NextSkillEffectTime   = Convert.ToInt32(valuesList[(int)_ID.ID_NEXTSKILLEFFECTTIME] as string);
          _values.m_NextSkillId           = Convert.ToInt32(valuesList[(int)_ID.ID_NEXTSKILLID] as string);
          _values.m_Radius                = Convert.ToSingle(valuesList[(int)_ID.ID_RADIUS] as string);
          _values.m_RangeEffectSize [0]   = Convert.ToSingle(valuesList[(int)_ID.ID_RANGEEFFECTSIZE01] as string);
          _values.m_RangeEffectSize [1]   = Convert.ToSingle(valuesList[(int)_ID.ID_RANGEEFFECTSIZE02] as string);
          _values.m_RangeEffectTarType    = Convert.ToInt32(valuesList[(int)_ID.ID_RANGEEFFECTTARTYPE] as string);
          _values.m_RangeEffectType       = Convert.ToInt32(valuesList[(int)_ID.ID_RANGEEFFECTTYPE] as string);
          _values.m_RefixThreat           = Convert.ToInt32(valuesList[(int)_ID.ID_REFIXTHREAT] as string);
          _values.m_SatrtMotionId         = Convert.ToInt32(valuesList[(int)_ID.ID_SATRTMOTIONID] as string);
          _values.m_SceneEffectId         = Convert.ToInt32(valuesList[(int)_ID.ID_SCENEEFFECTID] as string);
          _values.m_SkillCacheTime        = Convert.ToInt32(valuesList[(int)_ID.ID_SKILLCACHETIME] as string);
          _values.m_SkillContinueTime     = Convert.ToInt32(valuesList[(int)_ID.ID_SKILLCONTINUETIME] as string);
          _values.m_SkillDelayTime        = Convert.ToInt32(valuesList[(int)_ID.ID_SKILLDELAYTIME] as string);
          _values.m_SkillDesc             = valuesList[(int)_ID.ID_SKILLDESC] as string;
          _values.m_SkillExID             = Convert.ToInt32(valuesList[(int)_ID.ID_SKILLEXID] as string);
          _values.m_SkillLogic            = Convert.ToInt32(valuesList[(int)_ID.ID_SKILLLOGIC] as string);
          _values.m_YinChangTime          = Convert.ToInt32(valuesList[(int)_ID.ID_YINCHANGTIME] as string);
          _values.m_Level = Convert.ToInt32(valuesList[(int)_ID.ID_LEVEL] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_NpcDialog _values = new Tab_NpcDialog();

          _values.m_Dialog           = valuesList[(int)_ID.ID_DIALOG] as string;
          _values.m_Id               = Convert.ToInt16(valuesList[(int)_ID.ID_ID] as string);
          _values.m_MissionID [0]    = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID1] as string);
          _values.m_MissionID [1]    = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID2] as string);
          _values.m_MissionID [2]    = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID3] as string);
          _values.m_MissionID [3]    = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID4] as string);
          _values.m_MissionID [4]    = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID5] as string);
          _values.m_MissionID [5]    = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID6] as string);
          _values.m_MissionID [6]    = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID7] as string);
          _values.m_MissionID [7]    = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID8] as string);
          _values.m_MissionID [8]    = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID9] as string);
          _values.m_MissionID [9]    = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID10] as string);
          _values.m_MissionID [10]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID11] as string);
          _values.m_MissionID [11]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID12] as string);
          _values.m_MissionID [12]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID13] as string);
          _values.m_MissionID [13]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID14] as string);
          _values.m_MissionID [14]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID15] as string);
          _values.m_MissionID [15]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID16] as string);
          _values.m_MissionID [16]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID17] as string);
          _values.m_MissionID [17]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID18] as string);
          _values.m_MissionID [18]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID19] as string);
          _values.m_MissionID [19]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID20] as string);
          _values.m_MissionID [20]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID21] as string);
          _values.m_MissionID [21]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID22] as string);
          _values.m_MissionID [22]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID23] as string);
          _values.m_MissionID [23]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID24] as string);
          _values.m_MissionID [24]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID25] as string);
          _values.m_MissionID [25]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID26] as string);
          _values.m_MissionID [26]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID27] as string);
          _values.m_MissionID [27]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID28] as string);
          _values.m_MissionID [28]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID29] as string);
          _values.m_MissionID [29]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID30] as string);
          _values.m_MissionID [30]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID31] as string);
          _values.m_MissionID [31]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID32] as string);
          _values.m_MissionID [32]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID33] as string);
          _values.m_MissionID [33]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID34] as string);
          _values.m_MissionID [34]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID35] as string);
          _values.m_MissionID [35]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID36] as string);
          _values.m_MissionID [36]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID37] as string);
          _values.m_MissionID [37]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID38] as string);
          _values.m_MissionID [38]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID39] as string);
          _values.m_MissionID [39]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID40] as string);
          _values.m_MissionID [40]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID41] as string);
          _values.m_MissionID [41]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID42] as string);
          _values.m_MissionID [42]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID43] as string);
          _values.m_MissionID [43]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID44] as string);
          _values.m_MissionID [44]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID45] as string);
          _values.m_MissionID [45]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID46] as string);
          _values.m_MissionID [46]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID47] as string);
          _values.m_MissionID [47]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID48] as string);
          _values.m_MissionID [48]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID49] as string);
          _values.m_MissionID [49]   = Convert.ToInt16(valuesList[(int)_ID.ID_MISSIONID50] as string);
          _values.m_OptionDialogId   = Convert.ToInt16(valuesList[(int)_ID.ID_OPTIONDIALOGID] as string);
          _values.m_OptionDialogType = Convert.ToInt16(valuesList[(int)_ID.ID_OPTIONDIALOGTYPE] as string);
          _values.m_TalkID           = Convert.ToInt16(valuesList[(int)_ID.ID_TALKID] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_DailyLuckyDrawPoolInfo _values = new Tab_DailyLuckyDrawPoolInfo();

          _values.m_Bonus [0]  = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS1] as string);
          _values.m_Bonus [1]  = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS2] as string);
          _values.m_Bonus [2]  = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS3] as string);
          _values.m_Bonus [3]  = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS4] as string);
          _values.m_Bonus [4]  = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS5] as string);
          _values.m_Bonus [5]  = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS6] as string);
          _values.m_Bonus [6]  = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS7] as string);
          _values.m_Bonus [7]  = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS8] as string);
          _values.m_Bonus [8]  = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS9] as string);
          _values.m_Bonus [9]  = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS10] as string);
          _values.m_Bonus [10] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS11] as string);
          _values.m_Bonus [11] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS12] as string);
          _values.m_Bonus [12] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS13] as string);
          _values.m_Bonus [13] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS14] as string);
          _values.m_Bonus [14] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS15] as string);
          _values.m_Bonus [15] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS16] as string);
          _values.m_Bonus [16] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS17] as string);
          _values.m_Bonus [17] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS18] as string);
          _values.m_Bonus [18] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS19] as string);
          _values.m_Bonus [19] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS20] as string);
          _values.m_Bonus [20] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS21] as string);
          _values.m_Bonus [21] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS22] as string);
          _values.m_Bonus [22] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS23] as string);
          _values.m_Bonus [23] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS24] as string);
          _values.m_Bonus [24] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS25] as string);
          _values.m_Bonus [25] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS26] as string);
          _values.m_Bonus [26] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS27] as string);
          _values.m_Bonus [27] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS28] as string);
          _values.m_Bonus [28] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS29] as string);
          _values.m_Bonus [29] = Convert.ToInt32(valuesList[(int)_ID.ID_BONUS30] as string);
          _values.m_BonusNum   = Convert.ToInt32(valuesList[(int)_ID.ID_BONUSNUM] as string);
          _values.m_Id         = Convert.ToInt32(valuesList[(int)_ID.ID_ID] as string);
          _values.m_Rate [0]   = Convert.ToSingle(valuesList[(int)_ID.ID_RATE1] as string);
          _values.m_Rate [1]   = Convert.ToSingle(valuesList[(int)_ID.ID_RATE2] as string);
          _values.m_Rate [2]   = Convert.ToSingle(valuesList[(int)_ID.ID_RATE3] as string);
          _values.m_Rate [3]   = Convert.ToSingle(valuesList[(int)_ID.ID_RATE4] as string);
          _values.m_Rate [4]   = Convert.ToSingle(valuesList[(int)_ID.ID_RATE5] as string);
          _values.m_Rate [5]   = Convert.ToSingle(valuesList[(int)_ID.ID_RATE6] as string);
          _values.m_Rate [6]   = Convert.ToSingle(valuesList[(int)_ID.ID_RATE7] as string);
          _values.m_Rate [7]   = Convert.ToSingle(valuesList[(int)_ID.ID_RATE8] as string);
          _values.m_Rate [8]   = Convert.ToSingle(valuesList[(int)_ID.ID_RATE9] as string);
          _values.m_Rate [9]   = Convert.ToSingle(valuesList[(int)_ID.ID_RATE10] as string);
          _values.m_Rate [10]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE11] as string);
          _values.m_Rate [11]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE12] as string);
          _values.m_Rate [12]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE13] as string);
          _values.m_Rate [13]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE14] as string);
          _values.m_Rate [14]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE15] as string);
          _values.m_Rate [15]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE16] as string);
          _values.m_Rate [16]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE17] as string);
          _values.m_Rate [17]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE18] as string);
          _values.m_Rate [18]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE19] as string);
          _values.m_Rate [19]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE20] as string);
          _values.m_Rate [20]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE21] as string);
          _values.m_Rate [21]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE22] as string);
          _values.m_Rate [22]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE23] as string);
          _values.m_Rate [23]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE24] as string);
          _values.m_Rate [24]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE25] as string);
          _values.m_Rate [25]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE26] as string);
          _values.m_Rate [26]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE27] as string);
          _values.m_Rate [27]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE28] as string);
          _values.m_Rate [28]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE29] as string);
          _values.m_Rate [29]  = Convert.ToSingle(valuesList[(int)_ID.ID_RATE30] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }
Ejemplo n.º 17
0
      public static void SerializableTable(string[] valuesList, int skey, Dictionary <int, List <object> > _hash)
      {
          if ((int)_ID.MAX_RECORD != valuesList.Length)
          {
              throw TableException.ErrorReader("Load {0} error as CodeSize:{1} not Equal DataSize:{2}", GetInstanceFile(), _ID.MAX_RECORD, valuesList.Length);
          }
          Tab_RoleBaseAttr _values = new Tab_RoleBaseAttr();

          _values.m_AlertRadius        = Convert.ToSingle(valuesList[(int)_ID.ID_ALERTRADIUS] as string);
          _values.m_AttackDisType      = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACKDISTYPE] as string);
          _values.m_AttackTime         = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACKTIME] as string);
          _values.m_AttackType         = Convert.ToInt32(valuesList[(int)_ID.ID_ATTACKTYPE] as string);
          _values.m_BelongType         = Convert.ToInt32(valuesList[(int)_ID.ID_BELONGTYPE] as string);
          _values.m_BornEffctID        = Convert.ToInt32(valuesList[(int)_ID.ID_BORNEFFCTID] as string);
          _values.m_Camp               = Convert.ToInt32(valuesList[(int)_ID.ID_CAMP] as string);
          _values.m_CharModelID        = Convert.ToInt32(valuesList[(int)_ID.ID_CHARMODELID] as string);
          _values.m_CombatNPC          = Convert.ToInt32(valuesList[(int)_ID.ID_COMBATNPC] as string);
          _values.m_CorpseTime         = Convert.ToInt32(valuesList[(int)_ID.ID_CORPSETIME] as string);
          _values.m_CritiAdd           = Convert.ToInt32(valuesList[(int)_ID.ID_CRITIADD] as string);
          _values.m_CritiMis           = Convert.ToInt32(valuesList[(int)_ID.ID_CRITIMIS] as string);
          _values.m_Critical           = Convert.ToInt32(valuesList[(int)_ID.ID_CRITICAL] as string);
          _values.m_DeCritical         = Convert.ToInt32(valuesList[(int)_ID.ID_DECRITICAL] as string);
          _values.m_DialogID           = Convert.ToInt32(valuesList[(int)_ID.ID_DIALOGID] as string);
          _values.m_DialogRadius       = Convert.ToSingle(valuesList[(int)_ID.ID_DIALOGRADIUS] as string);
          _values.m_DieEffectID        = Convert.ToInt32(valuesList[(int)_ID.ID_DIEEFFECTID] as string);
          _values.m_Dodge              = Convert.ToInt32(valuesList[(int)_ID.ID_DODGE] as string);
          _values.m_DropItemId         = Convert.ToInt32(valuesList[(int)_ID.ID_DROPITEMID] as string);
          _values.m_Ductical           = Convert.ToInt32(valuesList[(int)_ID.ID_DUCTICAL] as string);
          _values.m_EnhanceID          = Convert.ToInt32(valuesList[(int)_ID.ID_ENHANCEID] as string);
          _values.m_Exp                = Convert.ToInt32(valuesList[(int)_ID.ID_EXP] as string);
          _values.m_Hit                = Convert.ToInt32(valuesList[(int)_ID.ID_HIT] as string);
          _values.m_HpCount            = Convert.ToInt32(valuesList[(int)_ID.ID_HPCOUNT] as string);
          _values.m_Id                 = Convert.ToInt32(valuesList[(int)_ID.ID_ID] as string);
          _values.m_IsAttackFly        = Convert.ToInt32(valuesList[(int)_ID.ID_ISATTACKFLY] as string);
          _values.m_IsImmuneJT         = Convert.ToInt32(valuesList[(int)_ID.ID_ISIMMUNEJT] as string);
          _values.m_IsRanbdMove        = Convert.ToInt32(valuesList[(int)_ID.ID_ISRANBDMOVE] as string);
          _values.m_Level              = Convert.ToInt32(valuesList[(int)_ID.ID_LEVEL] as string);
          _values.m_MAttack            = Convert.ToInt32(valuesList[(int)_ID.ID_MATTACK] as string);
          _values.m_MDefense           = Convert.ToInt32(valuesList[(int)_ID.ID_MDEFENSE] as string);
          _values.m_MaxHP              = Convert.ToInt32(valuesList[(int)_ID.ID_MAXHP] as string);
          _values.m_MaxMP              = Convert.ToInt32(valuesList[(int)_ID.ID_MAXMP] as string);
          _values.m_MaxXP              = Convert.ToInt32(valuesList[(int)_ID.ID_MAXXP] as string);
          _values.m_MissionNpcFlag     = Convert.ToInt32(valuesList[(int)_ID.ID_MISSIONNPCFLAG] as string);
          _values.m_MoveSpeed          = Convert.ToInt32(valuesList[(int)_ID.ID_MOVESPEED] as string);
          _values.m_Name               = valuesList[(int)_ID.ID_NAME] as string;
          _values.m_NpcType            = Convert.ToInt32(valuesList[(int)_ID.ID_NPCTYPE] as string);
          _values.m_PAttack            = Convert.ToInt32(valuesList[(int)_ID.ID_PATTACK] as string);
          _values.m_PDefense           = Convert.ToInt32(valuesList[(int)_ID.ID_PDEFENSE] as string);
          _values.m_PathRadius         = Convert.ToSingle(valuesList[(int)_ID.ID_PATHRADIUS] as string);
          _values.m_RampType           = Convert.ToInt32(valuesList[(int)_ID.ID_RAMPTYPE] as string);
          _values.m_RandMoveDis        = Convert.ToSingle(valuesList[(int)_ID.ID_RANDMOVEDIS] as string);
          _values.m_ReviveTime         = Convert.ToInt32(valuesList[(int)_ID.ID_REVIVETIME] as string);
          _values.m_Sex                = Convert.ToInt32(valuesList[(int)_ID.ID_SEX] as string);
          _values.m_ShowBornEffect     = Convert.ToInt32(valuesList[(int)_ID.ID_SHOWBORNEFFECT] as string);
          _values.m_SkillstrategyIndex = Convert.ToInt32(valuesList[(int)_ID.ID_SKILLSTRATEGYINDEX] as string);
          _values.m_Strike             = Convert.ToInt32(valuesList[(int)_ID.ID_STRIKE] as string);

          if (_hash.ContainsKey(skey))
          {
              List <object> tList = _hash[skey];
              tList.Add(_values);
          }
          else
          {
              List <object> tList = new List <object>();
              tList.Add(_values);
              _hash.Add(skey, (List <object>)tList);
          }
      }