public AvatarSubSkillDataItem(int avatarSubSkillID, int avatarID)
 {
     this.subSkillID = avatarSubSkillID;
     this._avatarID  = avatarID;
     this.level      = 0;
     this._metaData  = AvatarSubSkillMetaDataReader.GetAvatarSubSkillMetaDataByKey(avatarSubSkillID);
 }
        public static void LoadFromFileAndBuildMap()
        {
            AvatarSubSkillMetaDataReader.LoadFromFile();
            List <AvatarSubSkillMetaData> itemList = AvatarSubSkillMetaDataReader.GetItemList();

            _skillMap = new Dictionary <int, List <int> >();
            foreach (AvatarSubSkillMetaData data in itemList)
            {
                if (!_skillMap.ContainsKey(data.skillId))
                {
                    _skillMap.Add(data.skillId, new List <int>());
                }
                _skillMap[data.skillId].Add(data.avatarSubSkillId);
            }
        }