Class LeaderboardConfig
LeaderboardConfig
Inherited Members
Namespace: Unity.Services.Apis.Admin.Leaderboards
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "LeaderboardConfig")]
[Preserve]
public class LeaderboardConfig
Constructors
LeaderboardConfig(string, SortOrder?, UpdateType?, decimal, ResetConfig, TieringConfig)
Initializes a new instance of the Leaderboard
Declaration
[Preserve]
public LeaderboardConfig(string name = null, SortOrder? sortOrder = null, UpdateType? updateType = null, decimal bucketSize = 0, ResetConfig resetConfig = null, TieringConfig tieringConfig = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | name. |
Sort |
sortOrder | sortOrder. |
Update |
updateType | updateType. |
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. . |
Reset |
resetConfig | resetConfig. |
Tiering |
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. |
Name
Gets or Sets Name
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
[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 |
---|---|
Reset |
SortOrder
Gets or Sets SortOrder
Declaration
[DataMember(Name = "sortOrder", EmitDefaultValue = false)]
[Preserve]
public SortOrder? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
Sort |
TieringConfig
Gets or Sets TieringConfig
Declaration
[DataMember(Name = "tieringConfig", EmitDefaultValue = false)]
[Preserve]
public TieringConfig TieringConfig { get; set; }
Property Value
Type | Description |
---|---|
Tiering |
UpdateType
Gets or Sets UpdateType
Declaration
[DataMember(Name = "updateType", EmitDefaultValue = false)]
[Preserve]
public UpdateType? UpdateType { get; set; }
Property Value
Type | Description |
---|---|
Update |