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

Method getSoldiers

src/Savegame/Base.cpp:293–296  ·  view source on GitHub ↗

* Returns the list of soldiers in the base. * @return Pointer to the soldier list. */

Source from the content-addressed store, hash-verified

291 * @return Pointer to the soldier list.
292 */
293std::vector<Soldier*> *Base::getSoldiers()
294{
295 return &_soldiers;
296}
297
298/**
299 * Returns the list of crafts in the base.

Callers 15

advanceMethod · 0.45
getNumSoldiersMethod · 0.45
getSpaceAvailableMethod · 0.45
getSoldierMethod · 0.45
handlePromotionsMethod · 0.45
inspectSoldiersMethod · 0.45
deployXCOMMethod · 0.45
prepareDebriefingMethod · 0.45
PromotionsStateMethod · 0.45
SoldierInfoStateMethod · 0.45
SackSoldierStateMethod · 0.45
btnOkClickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected