Files
UltimateFishing/Assets/Scripts/Assembly-CSharp/Oculus/Platform/Models/LeaderboardEntry.cs
2026-02-21 16:45:37 +08:00

27 lines
571 B
C#

using System;
namespace Oculus.Platform.Models
{
public class LeaderboardEntry
{
public readonly byte[] ExtraData;
public readonly int Rank;
public readonly long Score;
public readonly DateTime Timestamp;
public readonly User User;
public LeaderboardEntry(IntPtr o)
{
ExtraData = CAPI.ovr_LeaderboardEntry_GetExtraData(o);
Rank = CAPI.ovr_LeaderboardEntry_GetRank(o);
Score = CAPI.ovr_LeaderboardEntry_GetScore(o);
Timestamp = CAPI.ovr_LeaderboardEntry_GetTimestamp(o);
User = new User(CAPI.ovr_LeaderboardEntry_GetUser(o));
}
}
}