Interface IClientSessionNetwork
A handle to the network handler used by the Client's Session.
Namespace: Unity.Services.Multiplayer
Assembly: Unity.Services.Multiplayer.dll
Syntax
public interface IClientSessionNetwork
Properties
NetworkHandler
A handler that configures the network as a session start and stops.
Declaration
INetworkHandler NetworkHandler { get; set; }
Property Value
Type | Description |
---|---|
INetworkHandler |
State
State of the underlying network handler.
Declaration
NetworkState State { get; }
Property Value
Type | Description |
---|---|
NetworkState |
Events
MigrationFailed
Raised when the operation to migrate the network fails
Declaration
event Action<SessionError> MigrationFailed
Event Type
Type | Description |
---|---|
Action<SessionError> |
StartFailed
Raised when the operation to start the network fails
Declaration
event Action<SessionError> StartFailed
Event Type
Type | Description |
---|---|
Action<SessionError> |
StateChanged
State changed events will be fired when the internal state changes.
Declaration
event Action<NetworkState> StateChanged
Event Type
Type | Description |
---|---|
Action<NetworkState> |
StopFailed
Raised when the operation to stop the network fails
Declaration
event Action<SessionError> StopFailed
Event Type
Type | Description |
---|---|
Action<SessionError> |