docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ShareTournamentPayload

    Represents content used to reshare an Instant Tournament.

    Inheritance
    object
    JsObject
    ShareTournamentPayload
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Meta.InstantGames.v8
    Assembly: Unity.Meta.InstantGames.Sdk.v8.dll
    Syntax
    public class ShareTournamentPayload : JsObject

    Constructors

    ShareTournamentPayload(double, string)

    Creates a new instance of ShareTournamentPayload

    Declaration
    public ShareTournamentPayload(double score, string data = null)
    Parameters
    Type Name Description
    double score

    An integer value representing the player's latest score.

    string data

    A blob of data to attach to the update. Must be less than or equal to 1000 characters when stringified.

    Properties

    Data

    A blob of data to attach to the update. Must be less than or equal to 1000 characters when stringified.

    Declaration
    public string Data { get; }
    Property Value
    Type Description
    string

    Score

    An integer value representing the player's latest score.

    Declaration
    public double Score { get; }
    Property Value
    Type Description
    double
    In This Article
    Back to top
    Copyright © 2025 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)