MCPcopy Create free account
hub / github.com/bwapi/bwapi / orderSelect

Method orderSelect

bwapi/BWAPI/Source/BWAPI/UnitImpl.cpp:123–129  ·  view source on GitHub ↗

---------------------------------------------- ORDER SELECT ----------------------------------------------

Source from the content-addressed store, hash-verified

121 }
122 //---------------------------------------------- ORDER SELECT ----------------------------------------------
123 void UnitImpl::orderSelect()
124 {
125 Unit u = this;
126 BW::Orders::Select sel = BW::Orders::Select(1, &u);
127 QueueGameCommand(&sel, sel.size());
128 BroodwarImpl.apmCounter.addSelect();
129 }
130 //----------------------------------------------------------------------------------------------------------
131 UnitImpl* UnitImpl::BWUnitToBWAPIUnit(BW::CUnit* unit)
132 {

Callers 1

issueCommandMethod · 0.80

Calls 4

SelectClass · 0.85
QueueGameCommandFunction · 0.85
addSelectMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected