/** * Returns the leaderboard for this game and the given leaderboard ID or * name * * @param mixed $id The ID or name of the leaderboard to return * @return GameLeaderboard The matching leaderboard if available */ public function getLeaderboard($id) { return GameLeaderboard::getLeaderboard($this->appId, $id); }
/** * Returns the leaderboard for this game and the given leaderboard ID or * name * * @param mixed $id The ID or name of the leaderboard to return * @return GameLeaderboard The matching leaderboard if available */ public function getLeaderboard($id) { return GameLeaderboard::getLeaderboard($this->shortName, $id); }