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

Method setRankInt

src/Savegame/BattleUnit.cpp:2494–2497  ·  view source on GitHub ↗

* Change the numeric version of the unit's rank. * @param rank unit rank, 0 = lowest */

Source from the content-addressed store, hash-verified

2492 * @param rank unit rank, 0 = lowest
2493 */
2494void BattleUnit::setRankInt(int rank)
2495{
2496 _rankInt = rank;
2497}
2498
2499/**
2500 * Return the numeric version of the unit's rank.

Callers 1

addAlienMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected