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

Method killedBy

src/Savegame/BattleUnit.cpp:2396–2399  ·  view source on GitHub ↗

* Get the faction the unit was killed by. * @return faction */

Source from the content-addressed store, hash-verified

2394 * @return faction
2395 */
2396UnitFaction BattleUnit::killedBy() const
2397{
2398 return _killedBy;
2399}
2400
2401/**
2402 * Set the faction the unit was killed by.

Callers 4

prepareDebriefingMethod · 0.80
checkForCasualtiesMethod · 0.80
hitMethod · 0.80
explodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected