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

Method getSavedGame

src/Engine/Game.cpp:501–504  ·  view source on GitHub ↗

* Returns the saved game currently in use by the game. * @return Pointer to the saved game. */

Source from the content-addressed store, hash-verified

499 * @return Pointer to the saved game.
500 */
501SavedGame *Game::getSavedGame() const
502{
503 return _save;
504}
505
506/**
507 * Sets a new saved game for the game to use.

Callers 15

getGeoscapeSaveMethod · 0.80
thinkMethod · 0.80
ufoReachedWaypointMethod · 0.80
addScoreMethod · 0.80
spawnAlienBaseMethod · 0.80
BattlescapeGeneratorMethod · 0.80
nextStageMethod · 0.80
deployXCOMMethod · 0.80
deployAliensMethod · 0.80
addAlienMethod · 0.80
addCivilianMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected