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

Method getCraft

src/Savegame/Soldier.cpp:206–209  ·  view source on GitHub ↗

* Returns the craft the soldier is assigned to. * @return Pointer to craft. */

Source from the content-addressed store, hash-verified

204 * @return Pointer to craft.
205 */
206Craft *Soldier::getCraft() const
207{
208 return _craft;
209}
210
211/**
212 * Assigns the soldier to a new craft.

Callers 6

loadMethod · 0.45
getAvailableSoldiersMethod · 0.45
getUsedStoresMethod · 0.45
destroyFacilityMethod · 0.45
stepMethod · 0.45
getNumSoldiersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected