private static void CreateSkillGroupList(ref Dictionary <string, Dictionary <string, MonsterSkillClientMaster> > destSkillGroupList)
 {
     GameWebAPI.RespDataMA_GetSkillM.SkillM[] skillM = MasterDataMng.Instance().RespDataMA_SkillM.skillM;
     for (int i = 0; i < skillM.Length; i++)
     {
         if (skillM[i] != null)
         {
             MonsterSkillClientMaster skillMasterBySkillId = MonsterSkillData.GetSkillMasterBySkillId(skillM[i].skillId);
             if (skillMasterBySkillId != null)
             {
                 MonsterUniqueSkillData.AddSkillGroupData(skillMasterBySkillId, ref destSkillGroupList);
             }
         }
     }
 }
 public static void Initialize()
 {
     if (null == MasterDataMng.Instance() || MasterDataMng.Instance().RespDataMA_SkillM == null || MasterDataMng.Instance().RespDataMA_SkillM.skillM == null || MasterDataMng.Instance().RespDataMA_SkillDetailM == null || MasterDataMng.Instance().RespDataMA_SkillDetailM.convertSkillDetailM == null)
     {
         return;
     }
     if (MonsterUniqueSkillData.skillGroupList == null)
     {
         MonsterUniqueSkillData.skillGroupList = new Dictionary <string, Dictionary <string, MonsterSkillClientMaster> >();
     }
     else
     {
         MonsterUniqueSkillData.skillGroupList.Clear();
     }
     MonsterUniqueSkillData.normalAttackSkillData = null;
     MonsterUniqueSkillData.CreateSkillGroupList(ref MonsterUniqueSkillData.skillGroupList);
     MonsterUniqueSkillData.SetNormalAttackData(ref MonsterUniqueSkillData.normalAttackSkillData);
 }
        public static MonsterSkillClientMaster GetMonsterSkillBySkillGroupId(string skillGroupId, string skillGroupSubId)
        {
            MonsterSkillClientMaster monsterSkillClientMaster = null;
            Dictionary <string, MonsterSkillClientMaster> monsterSkillBySkillGroupId = MonsterUniqueSkillData.GetMonsterSkillBySkillGroupId(skillGroupId);

            if (monsterSkillBySkillGroupId != null)
            {
                monsterSkillBySkillGroupId.TryGetValue(skillGroupSubId, out monsterSkillClientMaster);
                Debug.Assert(null != monsterSkillClientMaster, string.Concat(new string[]
                {
                    "該当情報がありません。スキルグループID(",
                    skillGroupId,
                    "), スキルグループサブID(",
                    skillGroupSubId,
                    ")"
                }));
            }
            return(monsterSkillClientMaster);
        }
 public static MonsterSkillClientMaster GetMonsterSkillBySkillGroupId(int skillGroupId, int skillGroupSubId)
 {
     return(MonsterUniqueSkillData.GetMonsterSkillBySkillGroupId(string.Format("{0}", skillGroupId), string.Format("{0}", skillGroupSubId)));
 }
 public static Dictionary <string, MonsterSkillClientMaster> GetMonsterSkillBySkillGroupId(int skillGroupId)
 {
     return(MonsterUniqueSkillData.GetMonsterSkillBySkillGroupId(string.Format("{0}", skillGroupId)));
 }