v1.0.0
Latest
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 MultiplayEventCallbacks
Events
Allocate
Callback which will be invoked when the Server receives an Allocation.
Declaration
public event Action<MultiplayAllocation> Allocate
Event Type
Type | Description |
---|---|
System.Action<MultiplayAllocation> |
Deallocate
Callback which will be invoked when the Server receives a Deallocation.
Declaration
public event Action<MultiplayDeallocation> Deallocate
Event Type
Type | Description |
---|---|
System.Action<MultiplayDeallocation> |
Error
Callback which will be invoked when the Server receives an error.
Declaration
public event Action<MultiplayError> Error
Event Type
Type | Description |
---|---|
System.Action<MultiplayError> |
SubscriptionStateChanged
Callback for if the subcription state changes.
Declaration
public event Action<MultiplayServerSubscriptionState> SubscriptionStateChanged
Event Type
Type | Description |
---|---|
System.Action<MultiplayServerSubscriptionState> |