MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / getCampaign

Method getCampaign

Source/ScriptingEngine.cpp:362–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362cCampaign* cScriptingEngine::getCampaign() {
363 return &g_Fodder->mGame_Data.mCampaign;
364}
365
366std::shared_ptr<cRandomMap> cScriptingEngine::getMap() {
367 return std::dynamic_pointer_cast<cRandomMap>(g_Fodder->mMapLoaded);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected