docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LeaderboardIdConfig

    LeaderboardIdConfig

    Inheritance
    object
    LeaderboardIdConfig
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Apis.Admin.Leaderboards
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "LeaderboardIdConfig")]
    [Preserve]
    public class LeaderboardIdConfig

    Constructors

    LeaderboardIdConfig(string, string, SortOrder, UpdateType, decimal, ResetConfig, TieringConfig)

    Initializes a new instance of the LeaderboardIdConfig class.

    Declaration
    [Preserve]
    public LeaderboardIdConfig(string id = null, string name = null, SortOrder sortOrder = (SortOrder)0, UpdateType updateType = (UpdateType)0, decimal bucketSize = 0, ResetConfig resetConfig = null, TieringConfig tieringConfig = null)
    Parameters
    Type Name Description
    string id

    id (required).

    string name

    name (required).

    SortOrder sortOrder

    sortOrder (required).

    UpdateType updateType

    updateType (required).

    decimal bucketSize

    Configure bucketing on the leaderboard by specifying the maximum bucket size. A bucketed leaderboard segments players into buckets of the specified size, assigning players to buckets on a first come, first serve basis. Buckets aren't visible to players. Note that you can't change this configuration after you've created the leaderboard. .

    ResetConfig resetConfig

    resetConfig.

    TieringConfig tieringConfig

    tieringConfig.

    Properties

    BucketSize

    Configure bucketing on the leaderboard by specifying the maximum bucket size. A bucketed leaderboard segments players into buckets of the specified size, assigning players to buckets on a first come, first serve basis. Buckets aren't visible to players. Note that you can't change this configuration after you've created the leaderboard.

    Declaration
    [DataMember(Name = "bucketSize", EmitDefaultValue = false)]
    [Preserve]
    public decimal BucketSize { get; set; }
    Property Value
    Type Description
    decimal

    Configure bucketing on the leaderboard by specifying the maximum bucket size. A bucketed leaderboard segments players into buckets of the specified size, assigning players to buckets on a first come, first serve basis. Buckets aren't visible to players. Note that you can't change this configuration after you've created the leaderboard.

    Id

    Gets or Sets Id

    Declaration
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    Name

    Gets or Sets Name

    Declaration
    [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    ResetConfig

    Gets or Sets ResetConfig

    Declaration
    [DataMember(Name = "resetConfig", EmitDefaultValue = false)]
    [Preserve]
    public ResetConfig ResetConfig { get; set; }
    Property Value
    Type Description
    ResetConfig

    SortOrder

    Gets or Sets SortOrder

    Declaration
    [DataMember(Name = "sortOrder", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public SortOrder SortOrder { get; set; }
    Property Value
    Type Description
    SortOrder

    TieringConfig

    Gets or Sets TieringConfig

    Declaration
    [DataMember(Name = "tieringConfig", EmitDefaultValue = false)]
    [Preserve]
    public TieringConfig TieringConfig { get; set; }
    Property Value
    Type Description
    TieringConfig

    UpdateType

    Gets or Sets UpdateType

    Declaration
    [DataMember(Name = "updateType", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public UpdateType UpdateType { get; set; }
    Property Value
    Type Description
    UpdateType
    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)