MCPcopy Create free account
hub / github.com/Blizzard/s2client-api / PlayerInfo

Class PlayerInfo

include/sc2api/sc2_map_info.h:53–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51};
52
53struct PlayerInfo {
54 uint32_t player_id;
55 PlayerType player_type;
56 Race race_requested;
57 Race race_actual;
58 Difficulty difficulty;
59
60 PlayerInfo(uint32_t player_id, PlayerType player_type, Race race_requested, Race race_actual, Difficulty difficulty) :
61 player_id(player_id),
62 player_type(player_type),
63 race_requested(race_requested),
64 race_actual(race_actual),
65 difficulty(difficulty) {};
66};
67
68//! Initial data for a game and map.
69struct GameInfo {

Callers 1

ConvertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected