public List <KFRankData> HRankTopList(int rankType) { List <KFRankData> list = new List <KFRankData>(); lock (this._lockRank) { if (this._rankTopDic.TryGetValue(rankType, out list)) { return(list); } IAllyService kuaFuService = this.GetKuaFuService(false); if (null == kuaFuService) { return(list); } try { list = kuaFuService.RankTopList(this._ClientInfo.ServerId, rankType); if (list != null) { this._rankTopDic.Add(rankType, list); } } catch (Exception ex) { this.ResetKuaFuService(); LogManager.WriteLog(LogTypes.Error, "HRankList Error{0}", ex, true); } } return(list); }