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

Method ToggleAutocast

src/sc2api/sc2_agent.cc:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void ActionImp::ToggleAutocast(Tag unit_tag, AbilityID ability) {
83 std::vector<Tag> tags = { unit_tag };
84 ToggleAutocast(tags, ability);
85}
86
87void ActionImp::ToggleAutocast(const std::vector<Tag>& unit_tags, AbilityID ability) {
88 SC2APIProtocol::RequestAction* request_action = GetRequestAction();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected