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>()); } }
public List <string> GetSkillbuff(EnumSBMType type, int linkId, string linkType) { return(GetSkillbuff(type, linkId.ToString(), linkType)); }
public List <string> GetSkillbuff(EnumSBMType type, int linkId) { return(GetSkillbuff(type, linkId, "")); }