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

Method setAlienRace

src/Savegame/AlienBase.cpp:122–125  ·  view source on GitHub ↗

* Changes the alien race currently residing in the alien base. * @param race Alien race. */

Source from the content-addressed store, hash-verified

120 * @param race Alien race.
121 */
122void AlienBase::setAlienRace(const std::string &race)
123{
124 _race = race;
125}
126
127/**
128 * Gets the alien base's battlescape status.

Callers 6

ufoReachedWaypointMethod · 0.45
spawnAlienBaseMethod · 0.45
btnOkClickMethod · 0.45
btnYesClickMethod · 0.45
handleBaseDefenseMethod · 0.45
btnYesClickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected