//------------------------------------------------------------------------------ public virtual void CountGameLeaderboardItemByCodeByGameIdByProfileIdByTimestamp() { string _code = (string)util.GetParamValue(_context, "code"); string _game_id = (string)util.GetParamValue(_context, "game_id"); string _profile_id = (string)util.GetParamValue(_context, "profile_id"); float _timestamp = float.Parse(util.GetParamValue(_context, "timestamp")); ResponseGameLeaderboardItemInt wrapper = new ResponseGameLeaderboardItemInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-leaderboard-item/count/by-code/by-game-id/by-profile-id/by-timestamp"; int i = api.CountGameLeaderboardItemByCodeByGameIdByProfileIdByTimestamp( _code , _game_id , _profile_id , _timestamp ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameLeaderboardItemByUuid() { string _uuid = (string)util.GetParamValue(_context, "uuid"); ResponseGameLeaderboardItemInt wrapper = new ResponseGameLeaderboardItemInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-leaderboard-item/count/by-uuid"; int i = api.CountGameLeaderboardItemByUuid( _uuid ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameLeaderboardItem() { ResponseGameLeaderboardItemInt wrapper = new ResponseGameLeaderboardItemInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-leaderboard-item/count"; int i = api.CountGameLeaderboardItem( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }