v1.0.0
Latest
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 MultiplaySessionManagerEventCallbacks

Events

Allocated

Callback which will be invoked when the Server receives an Allocation.

Declaration
public event Action<IMultiplayAllocation> Allocated
Event Type
TypeDescription
System.Action<IMultiplayAllocation>

Deallocated

Callback which will be invoked when the Server receives a Deallocation.

Declaration
public event Action<IMultiplayAllocation> Deallocated
Event Type
TypeDescription
System.Action<IMultiplayAllocation>

PlayerReadinessChanged

Callback which will be invoked when the Server player readiness changes.

Declaration
public event Action<bool> PlayerReadinessChanged
Event Type
TypeDescription
System.Action<System.Boolean>

StateChanged

Callback which will be invoked when the Server state changes.

Declaration
public event Action<MultiplaySessionManagerState> StateChanged
Event Type
TypeDescription
System.Action<MultiplaySessionManagerState>