docs.unity3d.com
    Show / Hide Table of Contents

    Class MultiplayEventCallbacks

    Class for providing your callbacks, which are used by the Multiplay SDK when a Multiplay Event occurs.

    Inheritance
    Object
    MultiplayEventCallbacks
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    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
    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>
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023