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

Method getUnits

src/Savegame/SavedBattleGame.cpp:719–722  ·  view source on GitHub ↗

* Gets the list of units. * @return Pointer to the list of units. */

Source from the content-addressed store, hash-verified

717 * @return Pointer to the list of units.
718 */
719std::vector<BattleUnit*> *SavedBattleGame::getUnits()
720{
721 return &_units;
722}
723
724/**
725 * Gets the list of items.

Callers 15

nextStageMethod · 0.80
deployXCOMMethod · 0.80
addXCOMUnitMethod · 0.80
addAlienMethod · 0.80
addCivilianMethod · 0.80
placeItemByLayoutMethod · 0.80
placeUnitNearFriendMethod · 0.80
countKnownTargetsMethod · 0.80
getSpottingUnitsMethod · 0.80
selectNearestTargetMethod · 0.80
selectRandomTargetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected