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

Method getId

src/Savegame/BattleUnit.cpp:293–296  ·  view source on GitHub ↗

* Returns the BattleUnit's unique ID. * @return Unique ID. */

Source from the content-addressed store, hash-verified

291 * @return Unique ID.
292 */
293int BattleUnit::getId() const
294{
295 return _id;
296}
297
298/**
299 * Changes the BattleUnit's position.

Callers 2

BattleUnitMethod · 0.45
getItemMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected