API reference
API reference
Select your platform
No SDKs available
No versions available

LeaderboardEntry Class

An leaderboard entry object contains information about a user in the leaderboard.

Constructors

LeaderboardEntry ( o )
Signature
Oculus.Platform.Models.LeaderboardEntry.LeaderboardEntry(IntPtr o)
Parameters
o: IntPtr

Fields

DisplayScore : readonly string
The score displayed in the leaderboard of this entry.
Signature
readonly string Oculus.Platform.Models.LeaderboardEntry.DisplayScore
ExtraData : readonly byte []
A 2KB custom data field that is associated with the leaderboard entry. This can be a game replay or anything that provides more detail about the entry to the viewer. It will be used by two entry methods: Leaderboards.WriteEntry() and Leaderboards.WriteEntryWithSupplementaryMetric()
Signature
readonly byte [] Oculus.Platform.Models.LeaderboardEntry.ExtraData
ID : readonly UInt64
The ID of this leaderboard entry.
Signature
readonly UInt64 Oculus.Platform.Models.LeaderboardEntry.ID
Rank : readonly int
The rank of this leaderboard entry in the leaderboard.
Signature
readonly int Oculus.Platform.Models.LeaderboardEntry.Rank
Score : readonly long
The raw underlying value of the leaderboard entry score.
Signature
readonly long Oculus.Platform.Models.LeaderboardEntry.Score
SupplementaryMetric : readonly SupplementaryMetric
Signature
readonly SupplementaryMetric Oculus.Platform.Models.LeaderboardEntry.SupplementaryMetric
SupplementaryMetricOptional : readonly SupplementaryMetric
A metric that can be used for tiebreakers by Leaderboards.WriteEntryWithSupplementaryMetric().
Signature
readonly SupplementaryMetric Oculus.Platform.Models.LeaderboardEntry.SupplementaryMetricOptional
Timestamp : readonly DateTime
The timestamp of this entry being created in the leaderboard.
Signature
readonly DateTime Oculus.Platform.Models.LeaderboardEntry.Timestamp
User : readonly User
User of this leaderboard entry.
Signature
readonly User Oculus.Platform.Models.LeaderboardEntry.User