docs.unity3d.com
Search Results for

    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.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)