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

Method PrintStatus

examples/common/bot_examples.cc:146–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void MultiplayerBot::PrintStatus(std::string msg) {
147 int64_t bot_identifier = int64_t(this) & 0xFFFLL;
148 std::cout << std::to_string(bot_identifier) << ": " << msg << std::endl;
149}
150
151void MultiplayerBot::OnGameStart() {
152 game_info_ = Observation()->GetGameInfo();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected