public static DataSet GetMakersMatchRankList(int gmid, int topCount) { bizMakersMatchRank biz = new bizMakersMatchRank(); MakersMatchRelationQuery model = MakersMatchFacade.GetModel(gmid); DataSet ds = new DataSet(); if (model != null) { if (model.GmState == 1) { if (topCount == 0) { ds = biz.GetMakersMatchRankList(gmid); } else { ds = biz.GetMakersMatchRankList(gmid, topCount); } } else if (model.GmState == 3) { if (topCount == 0) { ds = biz.GetMakersMatchRankHistoryList(gmid); } else { ds = biz.GetMakersMatchRankHistoryList(gmid, topCount); } } } return ds; }
public static void SetUserRecord(int gmid, int userid, string username, decimal score) { bizMakersMatchRank biz = new bizMakersMatchRank(); biz.SetUserRecord(gmid, userid, username, score); }
public static void GetUserRecord(int gmid, int userid, out decimal Score, out int order) { bizMakersMatchRank biz = new bizMakersMatchRank(); biz.GetUserRecord(gmid, userid, out Score, out order); }
public static MakersMatchRank GetModel(int gmid, int userid) { bizMakersMatchRank biz = new bizMakersMatchRank(); return biz.GetModel(gmid, userid); }
public static int GetMakersMatchRankMaxScore(int gmid) { bizMakersMatchRank biz = new bizMakersMatchRank(); return biz.GetMakersMatchRankMaxScore(gmid); }
public static int GetAwardCount(int gmid,int RankNum) { bizMakersMatchRank biz = new bizMakersMatchRank(); return biz.GetAwardCount(gmid,RankNum); }