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

Method getType

src/Ruleset/Unit.cpp:93–96  ·  view source on GitHub ↗

* Returns the language string that names * this unit. Each unit type has a unique name. * @return The unit's name. */

Source from the content-addressed store, hash-verified

91 * @return The unit's name.
92 */
93std::string Unit::getType() const
94{
95 return _type;
96}
97
98/**
99 * Returns the unit's stats data object.

Callers 15

newSaveMethod · 0.45
genSoldierMethod · 0.45
getRandomMapBlockMethod · 0.45
ItemsArrivingStateMethod · 0.45
GeoscapeCraftStateMethod · 0.45
FundingStateMethod · 0.45
UfoDetectedStateMethod · 0.45
calculateChangesMethod · 0.45
ConfirmNewBaseStateMethod · 0.45
nextStepMethod · 0.45
AlienBaseStateMethod · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected