using System; namespace UnityEngine.SocialPlatforms.Impl { // Token: 0x02000382 RID: 898 public class Leaderboard : ILeaderboard { // Token: 0x060035CE RID: 13774 RVA: 0x0005A20C File Offset: 0x0005840C public Leaderboard() { this.id = "Invalid"; this.range = new Range(1, 10); this.userScope = UserScope.Global; this.timeScope = TimeScope.AllTime; this.m_Loading = false; this.m_LocalUserScore = new Score("Invalid", 0L); this.m_MaxRange = 0U; this.m_Scores = new Score[0]; this.m_Title = "Invalid"; this.m_UserIDs = new string[0]; } // Token: 0x060035CF RID: 13775 RVA: 0x0005A28C File Offset: 0x0005848C public void SetUserFilter(string[] userIDs) { this.m_UserIDs = userIDs; } // Token: 0x060035D0 RID: 13776 RVA: 0x0005A298 File Offset: 0x00058498 public override string ToString() { return string.Concat(new object[] { "ID: '", this.id, "' Title: '", this.m_Title, "' Loading: '", this.m_Loading, "' Range: [", this.range.from, ",", this.range.count, "] MaxRange: '", this.m_MaxRange, "' Scores: '", this.m_Scores.Length, "' UserScope: '", this.userScope, "' TimeScope: '", this.timeScope, "' UserFilter: '", this.m_UserIDs.Length }); } // Token: 0x060035D1 RID: 13777 RVA: 0x0005A3AC File Offset: 0x000585AC public void LoadScores(Action callback) { ActivePlatform.Instance.LoadScores(this, callback); } // Token: 0x17000C61 RID: 3169 // (get) Token: 0x060035D2 RID: 13778 RVA: 0x0005A3BC File Offset: 0x000585BC public bool loading { get { return ActivePlatform.Instance.GetLoading(this); } } // Token: 0x060035D3 RID: 13779 RVA: 0x0005A3DC File Offset: 0x000585DC public void SetLocalUserScore(IScore score) { this.m_LocalUserScore = score; } // Token: 0x060035D4 RID: 13780 RVA: 0x0005A3E8 File Offset: 0x000585E8 public void SetMaxRange(uint maxRange) { this.m_MaxRange = maxRange; } // Token: 0x060035D5 RID: 13781 RVA: 0x0005A3F4 File Offset: 0x000585F4 public void SetScores(IScore[] scores) { this.m_Scores = scores; } // Token: 0x060035D6 RID: 13782 RVA: 0x0005A400 File Offset: 0x00058600 public void SetTitle(string title) { this.m_Title = title; } // Token: 0x060035D7 RID: 13783 RVA: 0x0005A40C File Offset: 0x0005860C public string[] GetUserFilter() { return this.m_UserIDs; } // Token: 0x17000C62 RID: 3170 // (get) Token: 0x060035D8 RID: 13784 RVA: 0x0005A428 File Offset: 0x00058628 // (set) Token: 0x060035D9 RID: 13785 RVA: 0x0005A444 File Offset: 0x00058644 public string id { get; set; } // Token: 0x17000C63 RID: 3171 // (get) Token: 0x060035DA RID: 13786 RVA: 0x0005A450 File Offset: 0x00058650 // (set) Token: 0x060035DB RID: 13787 RVA: 0x0005A46C File Offset: 0x0005866C public UserScope userScope { get; set; } // Token: 0x17000C64 RID: 3172 // (get) Token: 0x060035DC RID: 13788 RVA: 0x0005A478 File Offset: 0x00058678 // (set) Token: 0x060035DD RID: 13789 RVA: 0x0005A494 File Offset: 0x00058694 public Range range { get; set; } // Token: 0x17000C65 RID: 3173 // (get) Token: 0x060035DE RID: 13790 RVA: 0x0005A4A0 File Offset: 0x000586A0 // (set) Token: 0x060035DF RID: 13791 RVA: 0x0005A4BC File Offset: 0x000586BC public TimeScope timeScope { get; set; } // Token: 0x17000C66 RID: 3174 // (get) Token: 0x060035E0 RID: 13792 RVA: 0x0005A4C8 File Offset: 0x000586C8 public IScore localUserScore { get { return this.m_LocalUserScore; } } // Token: 0x17000C67 RID: 3175 // (get) Token: 0x060035E1 RID: 13793 RVA: 0x0005A4E4 File Offset: 0x000586E4 public uint maxRange { get { return this.m_MaxRange; } } // Token: 0x17000C68 RID: 3176 // (get) Token: 0x060035E2 RID: 13794 RVA: 0x0005A500 File Offset: 0x00058700 public IScore[] scores { get { return this.m_Scores; } } // Token: 0x17000C69 RID: 3177 // (get) Token: 0x060035E3 RID: 13795 RVA: 0x0005A51C File Offset: 0x0005871C public string title { get { return this.m_Title; } } // Token: 0x04000C11 RID: 3089 private bool m_Loading; // Token: 0x04000C12 RID: 3090 private IScore m_LocalUserScore; // Token: 0x04000C13 RID: 3091 private uint m_MaxRange; // Token: 0x04000C14 RID: 3092 private IScore[] m_Scores; // Token: 0x04000C15 RID: 3093 private string m_Title; // Token: 0x04000C16 RID: 3094 private string[] m_UserIDs; } }