Class MultiplaySessionManagerEventCallbacks
Class for providing your callbacks, which are used by the Multiplayer SDK when a MultiplaySessionManager Event occurs.
Inherited Members
Namespace: Unity.Services.Multiplayer
Assembly: Unity.Services.Multiplayer.Server.dll
Syntax
[Obsolete("The Multiplay service will cease to operate on March 31st 2026 - For alternative hosting providers, please update to com.unity.services.multiplayer 2.1")]
public class MultiplaySessionManagerEventCallbacks
Remarks
The Multiplay service will cease to operate on March 31st 2026 - For alternative hosting providers, please update to com.unity.services.multiplayer 2.1
Events
Allocated
Callback which will be invoked when the Server receives an Allocation.
Declaration
public event Action<IMultiplayAllocation> Allocated
Event Type
| Type | Description |
|---|---|
| Action<IMultiplayAllocation> |
Deallocated
Callback which will be invoked when the Server receives a Deallocation.
Declaration
public event Action<IMultiplayAllocation> Deallocated
Event Type
| Type | Description |
|---|---|
| Action<IMultiplayAllocation> |
PlayerReadinessChanged
Callback which will be invoked when the Server player readiness changes.
Declaration
public event Action<bool> PlayerReadinessChanged
Event Type
| Type | Description |
|---|---|
| Action<bool> |
StateChanged
Callback which will be invoked when the Server state changes.
Declaration
public event Action<MultiplaySessionManagerState> StateChanged
Event Type
| Type | Description |
|---|---|
| Action<MultiplaySessionManagerState> |