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()"); } }
private void AutoHandleFatal(ServerMessages.InvalidData data) { ErrorHandler.HandleError(ErrorHandler.ErrorCode.FATAL_EVENT, "Got fatal error: " + data.message); }