v1.0.0
2022.3+
Class MultiplaySessionManagerEventCallbacks
Class for providing your callbacks, which are used by the Multiplayer SDK when a MultiplaySessionManager Event occurs.
Inheritance
System.Object
MultiplaySessionManagerEventCallbacks
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Multiplayer
Syntax
public class MultiplaySessionManagerEventCallbacksEvents
Allocated
Callback which will be invoked when the Server receives an Allocation.
Declaration
public event Action<IMultiplayAllocation> AllocatedEvent Type
| Type | Description |
|---|---|
| System.Action<IMultiplayAllocation> |
Deallocated
Callback which will be invoked when the Server receives a Deallocation.
Declaration
public event Action<IMultiplayAllocation> DeallocatedEvent Type
| Type | Description |
|---|---|
| System.Action<IMultiplayAllocation> |
PlayerReadinessChanged
Callback which will be invoked when the Server player readiness changes.
Declaration
public event Action<bool> PlayerReadinessChangedEvent Type
| Type | Description |
|---|---|
| System.Action<System.Boolean> |
StateChanged
Callback which will be invoked when the Server state changes.
Declaration
public event Action<MultiplaySessionManagerState> StateChangedEvent Type
| Type | Description |
|---|---|
| System.Action<MultiplaySessionManagerState> |