Struct ServerConnectionStateArgs
Container about a connection state change for the server.
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 ServerConnectionStateArgs
Constructors
ServerConnectionStateArgs(LocalConnectionState, Int32)
Declaration
public ServerConnectionStateArgs(LocalConnectionState connectionState, int transportIndex)
Parameters
Type | Name | Description |
---|---|---|
LocalConnectionState | connectionState | |
System.Int32 | transportIndex |
Fields
ConnectionState
New connection state.
Declaration
public LocalConnectionState ConnectionState
Field Value
Type | Description |
---|---|
LocalConnectionState |
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 |