Enum NetworkStreamDisconnectReason
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public enum NetworkStreamDisconnectReason
Remarks
Maps directly to DisconnectReason, with NetCode specific additions.
Fields
Name | Description |
---|---|
AuthenticationFailure | |
BadProtocolVersion | NetCode-specific: Denotes that we've detected an unknown or unexpected ghost hash, implying that this is an incompatible server/client pair. |
ClosedByRemote | |
ConnectionClose | |
InvalidRpc | NetCode-specific: Denotes that we've detected a hash miss-match in an RPC, or an unknown RPC. Implies that this is an incompatible server/client pair. |
MaxConnectionAttempts | |
ProtocolError | |
Timeout |