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

Method AdditionalTestSetup

tests/test_unit_command.cc:1257–1261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1255 }
1256
1257 void AdditionalTestSetup() override {
1258 agent_->Debug()->DebugCreateUnit(UNIT_TYPEID::ZERG_MUTALISK, GetPointOffsetX(origin_pt_, 25), agent_->Observation()->GetPlayerID() + 1, 1);
1259 agent_->Debug()->DebugShowMap();
1260 agent_->Debug()->SendDebug();
1261 }
1262
1263 void OnStep() override {}
1264

Callers

nothing calls this directly

Calls 6

DebugCreateUnitMethod · 0.80
DebugMethod · 0.80
GetPlayerIDMethod · 0.80
ObservationMethod · 0.80
DebugShowMapMethod · 0.80
SendDebugMethod · 0.80

Tested by

no test coverage detected