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

Method getWeapons

src/Savegame/Craft.cpp:462–465  ·  view source on GitHub ↗

* Returns the list of weapons currently equipped * in the craft. * @return Pointer to weapon list. */

Source from the content-addressed store, hash-verified

460 * @return Pointer to weapon list.
461 */
462std::vector<CraftWeapon*> *Craft::getWeapons()
463{
464 return &_weapons;
465}
466
467/**
468 * Returns the list of items in the craft.

Callers 15

getIgnoredStoresMethod · 0.45
stepMethod · 0.45
CraftMethod · 0.45
loadMethod · 0.45
setRulesMethod · 0.45
getNumWeaponsMethod · 0.45
initMethod · 0.45
btnOkClickMethod · 0.45
changeByValueMethod · 0.45
initMethod · 0.45
lstWeaponsClickMethod · 0.45
ItemsArrivingStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected