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

Method getRace

src/Ruleset/Unit.cpp:147–150  ·  view source on GitHub ↗

* Gets the alien's race. * @return The alien's race. */

Source from the content-addressed store, hash-verified

145 * @return The alien's race.
146 */
147std::string Unit::getRace() const
148{
149 return _race;
150}
151
152/**
153 * Gets the unit's rank.

Callers 4

Ufo.cppFile · 0.80
BattleUnitMethod · 0.80
deployAliensMethod · 0.80
convertUnitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected