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

Method onUnitDestroy

bwapi/BWScriptEmulator/BWScriptEmulator.cpp:155–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void BWScriptEmulator::onUnitDestroy(BWAPI::Unit unit)
156{
157 if ( unit->getPlayer() == self ) // If we own it
158 {
159
160 }
161}
162
163void BWScriptEmulator::onUnitMorph(BWAPI::Unit unit)
164{}

Callers

nothing calls this directly

Calls 1

getPlayerMethod · 0.45

Tested by

no test coverage detected