Class LeaderboardRecord

Class LeaderboardRecord#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Models.LeaderboardRecord : xbe.sdk.EntityBase#

Describes a user’s single score record within a given leaderboard.

REQUIRES: Leaderboard Services

Public Functions

LeaderboardRecord ()#
LeaderboardRecord (Object obj)

Properties

Guid LeaderboardUid { get; set; }#

The unique identifier of the leaderboard that the record belongs to.

Guid PersonaUid { get; set; }#

The unique identifier of the persona that submitted the record.

int Rank { get; set; }#

The global rank of the record in relation to other records within the leaderboard (lower is better).

string RankBy { get; set; }#

The name of the stat to sort this record’s rank by. This should match the sortBy value of the corresponding Leaderboard definition.

Object Stats { get; set; }#

The persona’s submitted stats for the leaderboard. This object can contain any number of key-value pairs but there must be at least one that has the same name as the sortBy listed in the Leaderboard definition.

Public Static Functions

new LeaderboardRecord Parse (string json)#

Parses the given JSON encoded string into a new LeaderboardRecord instance.

Param json:

Return: