public static GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM AddResistanceFromMultipleTranceData(GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM resistanceMaster, List <GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM> uniqueResistanceList)
 {
     GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM monsterResistanceM = new GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM();
     monsterResistanceM.monsterResistanceId = resistanceMaster.monsterResistanceId;
     monsterResistanceM.description         = resistanceMaster.description;
     monsterResistanceM.fire      = resistanceMaster.fire;
     monsterResistanceM.water     = resistanceMaster.water;
     monsterResistanceM.thunder   = resistanceMaster.thunder;
     monsterResistanceM.nature    = resistanceMaster.nature;
     monsterResistanceM.none      = resistanceMaster.none;
     monsterResistanceM.light     = resistanceMaster.light;
     monsterResistanceM.dark      = resistanceMaster.dark;
     monsterResistanceM.poison    = resistanceMaster.poison;
     monsterResistanceM.confusion = resistanceMaster.confusion;
     monsterResistanceM.paralysis = resistanceMaster.paralysis;
     monsterResistanceM.sleep     = resistanceMaster.sleep;
     monsterResistanceM.stun      = resistanceMaster.stun;
     monsterResistanceM.skillLock = resistanceMaster.skillLock;
     monsterResistanceM.death     = resistanceMaster.death;
     for (int i = 0; i < uniqueResistanceList.Count; i++)
     {
         MonsterResistanceData.AddResistanceData(uniqueResistanceList[i], ref monsterResistanceM);
     }
     return(monsterResistanceM);
 }
        public static List <GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM> GetUniqueResistanceListByJson(string resistIds)
        {
            List <GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM> list = new List <GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM>();

            if (!string.IsNullOrEmpty(resistIds))
            {
                string[] array = resistIds.Split(new char[]
                {
                    ','
                });
                for (int i = 0; i < array.Length; i++)
                {
                    GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM resistanceMaster = MonsterResistanceData.GetResistanceMaster(array[i]);
                    list.Add(resistanceMaster);
                }
            }
            return(list);
        }
        public static List <GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM> GetUniqueResistanceList(List <string> resistIdList)
        {
            List <GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM> list = new List <GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM>();

            for (int i = 0; i < resistIdList.Count; i++)
            {
                GameWebAPI.RespDataMA_GetMonsterResistanceM.MonsterResistanceM resistanceMaster = MonsterResistanceData.GetResistanceMaster(resistIdList[i]);
                list.Add(resistanceMaster);
            }
            return(list);
        }