MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ASLoadLevelID

Function ASLoadLevelID

Source/Scripting/angelscript/asfuncs.cpp:5627–5636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5625}
5626
5627static void ASLoadLevelID(std::string id) {
5628 Engine* engine = Engine::Instance();
5629 Online* online = Online::Instance();
5630
5631 if (online->IsHosting()) {
5632 // mp.changeLevel(id);
5633 }
5634
5635 engine->ScriptableUICallback("load_campaign_level " + id);
5636}
5637
5638static void ASSetCampaignID(std::string id) {
5639 Engine* engine = Engine::Instance();

Callers

nothing calls this directly

Calls 2

IsHostingMethod · 0.80
ScriptableUICallbackMethod · 0.80

Tested by

no test coverage detected