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

Method OnTestFinish

tests/test_unit_command.cc:789–799  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

787 }
788
789 void OnTestFinish() override {
790 if (test_hatchery_.display_type != Unit::DisplayType::Snapshot) {
791 ReportError("On finish display type for hatchery is incorrect.");
792 }
793 if (test_hatchery_.owner != 2) {
794 ReportError("Owner of unit is incorrect.");
795 }
796 KillAllUnits();
797 agent_->Debug()->DebugShowMap();
798 agent_->Debug()->SendDebug();
799 }
800 };
801
802

Callers

nothing calls this directly

Calls 3

DebugShowMapMethod · 0.80
DebugMethod · 0.80
SendDebugMethod · 0.80

Tested by

no test coverage detected