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

Method getLastAttackingPlayer

bwapi/Shared/UnitShared.cpp:106–109  ·  view source on GitHub ↗

--------------------------------------------- GET LAST ATTACKING PLAYER ----------------------------------

Source from the content-addressed store, hash-verified

104 }
105 //--------------------------------------------- GET LAST ATTACKING PLAYER ----------------------------------
106 BWAPI::Player UnitImpl::getLastAttackingPlayer() const
107 {
108 return Broodwar->getPlayer(self->lastAttackerPlayer);
109 }
110 //--------------------------------------------- GET INITIAL TYPE -------------------------------------------
111 UnitType UnitImpl::getInitialType() const
112 {

Callers

nothing calls this directly

Calls 1

getPlayerMethod · 0.45

Tested by

no test coverage detected