1
This commit is contained in:
@@ -275,6 +275,18 @@ namespace Assets.MyGame.Scripts.Net
|
||||
APIManager.Response<BuyBattleOrderAdvanceResponse>(APIType.Hall_BuyBattleOrderAdvance, req, callback);
|
||||
}
|
||||
|
||||
// ==================== 排行榜 ====================
|
||||
|
||||
/// <summary>
|
||||
/// 获取用户排行榜(GET)
|
||||
/// 参数:type(1=金币排名 2=等级排名 3=今日消耗排名)
|
||||
/// 返回:RankingResponse(排行榜列表 + 当前用户排行)
|
||||
/// </summary>
|
||||
public static void GetRanking(GetRankingParam req, Action<RankingResponse> callback)
|
||||
{
|
||||
APIManager.Response<RankingResponse>(APIType.Hall_GetRanking, req, callback);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user