Beispiel #1
0
 private void AutoHandleInvalid(ServerMessages.InvalidData data)
 {
     try
     {
         this.AI.Invalid(data.message);
     }
     catch (Exception exception)
     {
         ErrorHandler.HandleError(ErrorHandler.ErrorCode.AI_ERRORED, exception, "AI threw unhandled exception during GameUpdated()");
     }
 }
Beispiel #2
0
 private void AutoHandleFatal(ServerMessages.InvalidData data)
 {
     ErrorHandler.HandleError(ErrorHandler.ErrorCode.FATAL_EVENT, "Got fatal error: " + data.message);
 }