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

Method setCraft

src/Savegame/Soldier.cpp:215–218  ·  view source on GitHub ↗

* Assigns the soldier to a new craft. * @param craft Pointer to craft. */

Source from the content-addressed store, hash-verified

213 * @param craft Pointer to craft.
214 */
215void Soldier::setCraft(Craft *craft)
216{
217 _craft = craft;
218}
219
220/**
221 * Returns the soldier's craft string, which

Callers 8

loadMethod · 0.45
destroyFacilityMethod · 0.45
newSaveMethod · 0.45
initSaveMethod · 0.45
btnOkClickMethod · 0.45
cbxCraftChangeMethod · 0.45
btnYesClickMethod · 0.45
btnYesClickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected