Exemple #1
0
        public List <string> GetSkillbuff(EnumSBMType type, string linkId, string linkType)
        {
            string key = BuildSkillPlusKey((int)type, linkId, linkType);

            if (_skillMatchDic.ContainsKey(key))
            {
                var list = _skillMatchDic[key];
                if (list == null)
                {
                    return(null);
                }
                var rList = new List <string>(list.Count);
                foreach (var dicSkillbuffMatch in list)
                {
                    rList.Add(dicSkillbuffMatch);
                }
                return(rList);
            }
            else
            {
                return(new List <string>());
            }
        }
Exemple #2
0
 public List <string> GetSkillbuff(EnumSBMType type, int linkId, string linkType)
 {
     return(GetSkillbuff(type, linkId.ToString(), linkType));
 }
Exemple #3
0
 public List <string> GetSkillbuff(EnumSBMType type, int linkId)
 {
     return(GetSkillbuff(type, linkId, ""));
 }