Created
October 12, 2015 07:01
-
-
Save kaimallea/5151469c7f0e241ca4d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct PlayerRoundStats_t { | |
int team, kills, deaths, clutch_kills; | |
}; | |
typedef std::unordered_map<const char *, PlayerRoundStats_t> PlayerRoundStatsMap_t; | |
typedef std::unordered_map<int, PlayerRoundStatsMap_t> RoundStatsMap_t; | |
Represents: | |
{ | |
"1": { | |
"STEAM_ID_X_X": { | |
team: 2, | |
kills: 5 | |
deaths: 0 | |
clutch_kills: 0 | |
} | |
... | |
} | |
"2": { | |
"STEAM_ID_X_X": { | |
team: 2, | |
kills: 5 | |
deaths: 0 | |
clutch_kills: 0 | |
} | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment