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

Method getSpawnUnit

src/Ruleset/Unit.cpp:219–222  ·  view source on GitHub ↗

* Gets the unit that is spawned when this one dies. * @return The unit's spawn unit. */

Source from the content-addressed store, hash-verified

217 * @return The unit's spawn unit.
218 */
219std::string Unit::getSpawnUnit() const
220{
221 return _spawnUnit;
222}
223
224/**
225 * Gets the unit's war cry.

Callers 4

explodeMethod · 0.45
prepareDebriefingMethod · 0.45
tallyUnitsMethod · 0.45
thinkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected