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

Method setClientInfo

bwapi/BWAPILIB/Source/Unitset.cpp:69–79  ·  view source on GitHub ↗

///////////////////////////////////////////////////// Misc

Source from the content-addressed store, hash-verified

67 }
68 ////////////////////////////////////////////////////////// Misc
69 void Unitset::setClientInfo(void *clientInfo, int index) const
70 {
71 if ( index < 0 || index > 255 )
72 return;
73
74 // Assign the client info to all units in the set
75 for (auto &u : *this)
76 {
77 u->setClientInfo(clientInfo, index);
78 }
79 }
80 void Unitset::setClientInfo(int clientInfo, int index) const
81 {
82 this->setClientInfo((void*)clientInfo, index);

Callers 11

SetOrderStateMethod · 0.45
SetOrderTimerMethod · 0.45
SetQueuedOrderMethod · 0.45
SetVirtualUnitOrderMethod · 0.45
SetAttackTargetMethod · 0.45
SetControlTypeMethod · 0.45
SetCaptainTypeMethod · 0.45
SetWorkerTaskMethod · 0.45
SetTargetFlagsMethod · 0.45
RunWorkerControllerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected