MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / Shutdown

Method Shutdown

Source/Player/Application.cpp:49–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void Application::Shutdown() {
50 if (gameWorld->IsGameStarted()) {
51 gameWorld->StopGame();
52 }
53
54 sandbox = LuaCpp::Selector();
55
56 BE1::prefabManager.Shutdown();
57
58 BE1::GameWorld::DestroyInstance(gameWorld, true);
59
60 BE1::GameSettings::Shutdown();
61
62 BE1::cmdSystem.RemoveCommand("map");
63}
64
65bool Application::LoadAppScript(const char *sandboxName) {
66 state = &gameWorld->GetLuaVM().State();

Callers 2

ShutdownInstanceFunction · 0.45
ShutdownInstanceFunction · 0.45

Calls 4

IsGameStartedMethod · 0.80
StopGameMethod · 0.80
RemoveCommandMethod · 0.80
SelectorClass · 0.50

Tested by

no test coverage detected