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

Method getId

src/Savegame/Ufo.cpp:234–237  ·  view source on GitHub ↗

* Returns the UFO's unique ID. If it's 0, * this UFO has never been detected. * @return Unique ID. */

Source from the content-addressed store, hash-verified

232 * @return Unique ID.
233 */
234int Ufo::getId() const
235{
236 return _id;
237}
238
239/**
240 * Changes the UFO's unique ID.

Callers 15

loadMethod · 0.45
saveMethod · 0.45
loadMethod · 0.45
operator()Method · 0.45
saveMethod · 0.45
stepMethod · 0.45
nextStageMethod · 0.45
meleeActionMethod · 0.45
meleeAttackMethod · 0.45
initMethod · 0.45
saveEquipmentLayoutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected