Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
155
void BWScriptEmulator::onUnitDestroy(BWAPI::Unit unit)
156
{
157
if ( unit->getPlayer() == self ) // If we own it
158
{
159
160
}
161
}
162
163
void BWScriptEmulator::onUnitMorph(BWAPI::Unit unit)
164
{}
Callers
nothing calls this directly
Calls
1
getPlayer
Method · 0.45
Tested by
no test coverage detected