private static void GameShutdown() { try { PersistentOperations.Shutdown_Initiated = true; if (WebAPI.IsEnabled && WebAPI.IsRunning) { WebAPI.Unload(); } Timers.CoreTimerStop(); RegionReset.Exec(); Phrases.Unload(); CommandList.Unload(); OutputLog.Shutdown(); } catch (Exception e) { Log.Out(string.Format("[SERVERTOOLS] Error in API.GameShutdown: {0}", e.Message)); } }
private void GameAwake() { OutputLog.Exec(); }