v1.0.0
2022.3+
Class MultiplayEventCallbacks
Class for providing your callbacks, which are used by the Multiplay SDK when a Multiplay Event occurs.
Inheritance
System.Object
MultiplayEventCallbacks
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.Multiplay
Syntax
public class MultiplayEventCallbacksEvents
Allocate
Callback which will be invoked when the Server receives an Allocation.
Declaration
public event Action<MultiplayAllocation> AllocateEvent Type
| Type | Description |
|---|---|
| System.Action<MultiplayAllocation> |
Deallocate
Callback which will be invoked when the Server receives a Deallocation.
Declaration
public event Action<MultiplayDeallocation> DeallocateEvent Type
| Type | Description |
|---|---|
| System.Action<MultiplayDeallocation> |
Error
Callback which will be invoked when the Server receives an error.
Declaration
public event Action<MultiplayError> ErrorEvent Type
| Type | Description |
|---|---|
| System.Action<MultiplayError> |
SubscriptionStateChanged
Callback for if the subcription state changes.
Declaration
public event Action<MultiplayServerSubscriptionState> SubscriptionStateChangedEvent Type
| Type | Description |
|---|---|
| System.Action<MultiplayServerSubscriptionState> |