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

Method getRules

src/Savegame/Craft.cpp:259–262  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

257 * @return Pointer to ruleset.
258 */
259RuleCraft *Craft::getRules() const
260{
261 return _rules;
262}
263
264/**
265 * Changes the ruleset for the craft's type.

Callers 3

checkupMethod · 0.45
rearmMethod · 0.45
getVehicleCountMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected