OnServer/ClientError

This commit is contained in:
JohnCorby 2023-05-07 16:06:43 -07:00
parent d9a0daec37
commit 658f5a33db

View File

@ -424,4 +424,10 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
base.OnStopServer();
}
public override void OnServerError(NetworkConnectionToClient conn, TransportError error, string reason) =>
DebugLog.DebugWrite($"OnServerError({conn}, {error}, {reason})", MessageType.Error);
public override void OnClientError(TransportError error, string reason) =>
DebugLog.DebugWrite($"OnClientError({error}, {reason})", MessageType.Error);
}