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

Method IssueUnitCommand

tests/test_unit_command.cc:1538–1547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1536 }
1537
1538 void IssueUnitCommand(ActionInterface* act) override {
1539 if (ability_command_sent_) {
1540 return;
1541 }
1542
1543 act->UnitCommand(test_unit_, test_ability_);
1544 act->UnitCommand(test_unit_, test_ability_);
1545 act->UnitCommand(test_unit_, test_ability_);
1546 ability_command_sent_ = true;
1547 }
1548
1549 void OnTestFinish() override {
1550 const ObservationInterface* obs = agent_->Observation();

Callers

nothing calls this directly

Calls 1

UnitCommandMethod · 0.80

Tested by

no test coverage detected