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

Method getNumVehicles

src/Savegame/Craft.cpp:452–455  ·  view source on GitHub ↗

* Returns the amount of vehicles currently * contained in this craft. * @return Number of vehicles. */

Source from the content-addressed store, hash-verified

450 * @return Number of vehicles.
451 */
452int Craft::getNumVehicles() const
453{
454 return _vehicles.size();
455}
456
457/**
458 * Returns the list of weapons currently equipped

Callers 8

initMethod · 0.80
moveRightByValueMethod · 0.80
initMethod · 0.80
btnOkClickMethod · 0.80
GeoscapeCraftStateMethod · 0.80
time5SecondsMethod · 0.80
InterceptStateMethod · 0.80
btnCydoniaClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected