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

Method getType

src/Savegame/BattleUnit.cpp:2319–2322  ·  view source on GitHub ↗

* Get unit type. * @return unit type. */

Source from the content-addressed store, hash-verified

2317 * @return unit type.
2318 */
2319std::string BattleUnit::getType() const
2320{
2321 return _type;
2322}
2323
2324/**
2325 * Set unit's active hand.

Callers 4

BattleUnitMethod · 0.45
saveMethod · 0.45
getItemMethod · 0.45
checkAmmoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected