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

Method AdditionalTestSetup

tests/test_unit_command.cc:526–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524 }
525
526 void AdditionalTestSetup() override {
527 agent_->Debug()->DebugCreateUnit(test_unit_type_, origin_pt_, agent_->Observation()->GetPlayerID(), 1);
528 agent_->Debug()->SendDebug();
529 }
530
531 void SetTestTime() override {
532 wait_game_loops_ = 50;

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected