예제 #1
0
 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));
     }
 }
예제 #2
0
 private void GameAwake()
 {
     OutputLog.Exec();
 }