MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getOwner

Method getOwner

src/Savegame/BattleItem.cpp:208–211  ·  view source on GitHub ↗

* Gets the item's owner. * @return Pointer to Battleunit. */

Source from the content-addressed store, hash-verified

206 * @return Pointer to Battleunit.
207 */
208BattleUnit *BattleItem::getOwner() const
209{
210 return _owner;
211}
212
213/**
214 * Gets the item's previous owner.

Callers 5

removeItemMethod · 0.80
nextStageMethod · 0.80
prepareDebriefingMethod · 0.80
getOriginVoxelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected