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

Method getRules

src/Savegame/Ufo.cpp:224–227  ·  view source on GitHub ↗

* Returns the ruleset for the UFO's type. * @return Pointer to ruleset. */

Source from the content-addressed store, hash-verified

222 * @return Pointer to ruleset.
223 */
224RuleUfo *Ufo::getRules() const
225{
226 return _rules;
227}
228
229/**
230 * Returns the UFO's unique ID. If it's 0,

Callers 15

loadMethod · 0.45
detectMethod · 0.45
insideRadarRangeMethod · 0.45
getAvailableQuartersMethod · 0.45
getUsedStoresMethod · 0.45
getAvailableStoresMethod · 0.45
getIgnoredStoresMethod · 0.45
getUsedWorkshopsMethod · 0.45
getAvailableWorkshopsMethod · 0.45
getUsedHangarsMethod · 0.45
getAvailableHangarsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected