Struct RemoteConnectionStateArgs
Container about a connection state change for a client.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FishNet.Transporting
Assembly: FishNet.Runtime.dll
Syntax
public struct RemoteConnectionStateArgs
Constructors
RemoteConnectionStateArgs(RemoteConnectionState, Int32, Int32)
Declaration
public RemoteConnectionStateArgs(RemoteConnectionState connectionState, int connectionId, int transportIndex)
Parameters
Type | Name | Description |
---|---|---|
RemoteConnectionState | connectionState | |
System.Int32 | connectionId | |
System.Int32 | transportIndex |
Fields
ConnectionId
ConnectionId for which client the state changed. Will be -1 if ConnectionState was for the local server.
Declaration
public int ConnectionId
Field Value
Type | Description |
---|---|
System.Int32 |
ConnectionState
New connection state.
Declaration
public RemoteConnectionState ConnectionState
Field Value
Type | Description |
---|---|
RemoteConnectionState |
TransportIndex
Index of the transport that is for. This is primarily used when supporting multiple transports.
Declaration
public int TransportIndex
Field Value
Type | Description |
---|---|
System.Int32 |