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

Method IsStructure

examples/common/bot_examples.cc:93–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92struct IsStructure {
93 IsStructure(const ObservationInterface* obs) : observation_(obs) {};
94
95 bool operator()(const Unit& unit) {
96 auto& attributes = observation_->GetUnitTypeData().at(unit.unit_type).attributes;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected