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

Method getGender

src/Savegame/BattleUnit.cpp:698–701  ·  view source on GitHub ↗

* Gets the soldier's gender. */

Source from the content-addressed store, hash-verified

696 * Gets the soldier's gender.
697 */
698SoldierGender BattleUnit::getGender() const
699{
700 return _gender;
701}
702
703/**
704 * Returns the unit's faction.

Callers 1

BattleUnitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected