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

Method setId

src/Savegame/Ufo.cpp:243–246  ·  view source on GitHub ↗

* Changes the UFO's unique ID. * @param id Unique ID. */

Source from the content-addressed store, hash-verified

241 * @param id Unique ID.
242 */
243void Ufo::setId(int id)
244{
245 _id = id;
246}
247
248/**
249 * Returns the UFO's unique identifying name.

Callers 10

btnOkClickMethod · 0.45
btnCancelClickMethod · 0.45
UfoDetectedStateMethod · 0.45
time5SecondsMethod · 0.45
operator()Method · 0.45
time1MonthMethod · 0.45
setupTerrorMissionMethod · 0.45
btnOkClickMethod · 0.45
moveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected