Class MultiplayEventCallbacks
Class for providing your callbacks, which are used by the Multiplay SDK when a Multiplay Event occurs.
Inherited Members
Namespace: Unity.Services.Multiplay
Assembly: Unity.Services.Multiplayer.Multiplay.dll
Syntax
public class MultiplayEventCallbacks
Events
Allocate
Callback which will be invoked when the Server receives an Allocation.
Declaration
public event Action<MultiplayAllocation> Allocate
Event Type
Type | Description |
---|---|
Action<MultiplayAllocation> |
Deallocate
Callback which will be invoked when the Server receives a Deallocation.
Declaration
public event Action<MultiplayDeallocation> Deallocate
Event Type
Type | Description |
---|---|
Action<MultiplayDeallocation> |
Error
Callback which will be invoked when the Server receives an error.
Declaration
public event Action<MultiplayError> Error
Event Type
Type | Description |
---|---|
Action<MultiplayError> |
SubscriptionStateChanged
Callback for if the subcription state changes.
Declaration
public event Action<MultiplayServerSubscriptionState> SubscriptionStateChanged
Event Type
Type | Description |
---|---|
Action<MultiplayServerSubscriptionState> |