{"action":"closed","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/313","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/313/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/313/events","html_url":"https://github.com/chrsmith/bwapi/issues/313","id":58671153,"number":313,"title":"Methods for Leaderboard access (UMS and other game types)","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Component-Logic","name":"Component-Logic","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/NewFeature","name":"NewFeature","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Object-Game","name":"Object-Game","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Offset-hunting","name":"Offset-hunting","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Priority-Low","name":"Priority-Low","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Usability","name":"Usability","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T00:00:40Z","updated_at":"2015-02-24T00:00:41Z","closed_at":"2015-02-24T00:00:40Z","body":"```\nAs the title states. Create methods for accessing the leaderboard display \nwhether it be kills or greed or anything else that would normally be \nunavailable (complete map info off) even though it is displayed before you.\n\nenum? type class? Game::getLeaderboardType() -- The leaderboard type, Kills, \nGreed, Score, etc.\nenum? type class? Game::getLeaderboardSubtype() -- Typically the Unit Type for \nkills, or score type.\nstd::string Game::getLeaderboardName() -- The assigned name for the leaderboard \nwhich can be customized in UMS.\n\nNow the rest I'm not sure about:\nint getLeaderboardCount(Player *player)? int getLeaderboardSecondCount(Player \n*player)?\nor should it be\nstd::pair<int,int> Game::getLeaderboardCount(Player *player)??\nor maybe it should be Player::getLeaderboardCount()??\nPlayer *Game::getLeaderboardFirst()?\nPlayer *Game::getLeaderboardLast()?\n\n```\n\n-----\nOriginal issue reported on code.google.com by `AHeinerm` on 25 Nov 2010 at 5:11"}}