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

Method getArmor

src/Savegame/Soldier.cpp:407–410  ·  view source on GitHub ↗

* Returns the unit's current armor. * @return Pointer to armor data. */

Source from the content-addressed store, hash-verified

405 * @return Pointer to armor data.
406 */
407Armor *Soldier::getArmor() const
408{
409 return _armor;
410}
411
412/**
413 * Changes the unit's current armor.

Callers 15

loadMethod · 0.45
loadMethod · 0.45
resetUnitTilesMethod · 0.45
getSpawnNodeMethod · 0.45
getPatrolNodeMethod · 0.45
prepareNewTurnMethod · 0.45
setUnitPositionMethod · 0.45
placeUnitNearPositionMethod · 0.45
loadMethod · 0.45
setupDefensesMethod · 0.45
loadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected