terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Leaderboard.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000012 RID: 18
9 public class Leaderboard
10 {
11 // Token: 0x06000031 RID: 49 RVA: 0x00002624 File Offset: 0x00000824
12 public Leaderboard()
13 {
14 this.timeScope = TimeScope.AllTime;
15 this.id = "Invalid";
16 this.m_Title = "Invalid";
17 }
18
19 // Token: 0x06000032 RID: 50 RVA: 0x00002658 File Offset: 0x00000858
20 public override string ToString()
21 {
22 if ("ID: '" == null || "ID: '" != null)
23 {
24 string text = this.<id>k__BackingField;
25 if ((text == null || text != null) && ("' Title: '" == null || "' Title: '" != null))
26 {
27 string title = this.m_Title;
28 string text2;
29 string text3;
30 string text4;
31 string text5;
32 if ((title == null || title != null) && ("' Loading: '" == null || "' Loading: '" != null) && (text2 == null || text2 != null) && ("' Range: [" == null || "' Range: [" != null) && (text3 == null || text3 != null) && ("," == null || "," != null) && (text4 == null || text4 != null) && ("] MaxRange: '" == null || "] MaxRange: '" != null) && (text5 == null || text5 != null) && ("' Scores: '" == null || "' Scores: '" != null))
33 {
34 IScore[] scores = this.m_Scores;
35 string text6;
36 if ((text6 == null || text6 != null) && ("' UserScope: '" == null || "' UserScope: '" != null))
37 {
38 UserScope userScope = this.<userScope>k__BackingField;
39 string text7;
40 if ((text7 == null || text7 != null) && ("' TimeScope: '" == null || "' TimeScope: '" != null))
41 {
42 TimeScope timeScope = this.<timeScope>k__BackingField;
43 string text8;
44 if ((text8 == null || text8 != null) && ("' UserFilter: '" == null || "' UserFilter: '" != null))
45 {
46 string[] userIDs = this.m_UserIDs;
47 string text9;
48 if (text9 == null || text9 != null)
49 {
50 string text10;
51 return text10;
52 }
53 }
54 }
55 }
56 }
57 }
58 }
60 }
61
62 // Token: 0x06000033 RID: 51 RVA: 0x000027A0 File Offset: 0x000009A0
63 public void SetScores(IScore[] scores)
64 {
66 }
67
68 // Token: 0x06000034 RID: 52 RVA: 0x000027B4 File Offset: 0x000009B4
69 public void SetTitle(string title)
70 {
71 this.m_Title = title;
72 }
73
74 // Token: 0x17000016 RID: 22
75 // (get) Token: 0x06000035 RID: 53 RVA: 0x000027C8 File Offset: 0x000009C8
76 // (set) Token: 0x06000036 RID: 54 RVA: 0x000027DC File Offset: 0x000009DC
77 public string id
78 {
80 get
81 {
82 return this.<id>k__BackingField;
83 }
85 set
86 {
87 this.<id>k__BackingField = value;
88 }
89 }
90
91 // Token: 0x17000017 RID: 23
92 // (get) Token: 0x06000037 RID: 55 RVA: 0x000027F0 File Offset: 0x000009F0
93 // (set) Token: 0x06000038 RID: 56 RVA: 0x00002804 File Offset: 0x00000A04
95 {
97 get
98 {
99 return this.<userScope>k__BackingField;
100 }
102 set
103 {
105 }
106 }
107
108 // Token: 0x17000018 RID: 24
109 // (get) Token: 0x06000039 RID: 57 RVA: 0x00002076 File Offset: 0x00000276
110 // (set) Token: 0x0600003A RID: 58 RVA: 0x00002818 File Offset: 0x00000A18
112 {
114 get
115 {
116 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
117 }
119 set
120 {
121 }
122 }
123
124 // Token: 0x17000019 RID: 25
125 // (get) Token: 0x0600003B RID: 59 RVA: 0x00002828 File Offset: 0x00000A28
126 // (set) Token: 0x0600003C RID: 60 RVA: 0x0000283C File Offset: 0x00000A3C
128 {
130 get
131 {
132 return this.<timeScope>k__BackingField;
133 }
135 set
136 {
138 }
139 }
140
141 // Token: 0x0400002F RID: 47
142 private bool m_Loading;
143
144 // Token: 0x04000030 RID: 48
146
147 // Token: 0x04000031 RID: 49
148 private uint m_MaxRange;
149
150 // Token: 0x04000032 RID: 50
151 private IScore[] m_Scores;
152
153 // Token: 0x04000033 RID: 51
154 private string m_Title;
155
156 // Token: 0x04000034 RID: 52
157 private string[] m_UserIDs;
158
159 // Token: 0x04000035 RID: 53
162 private string <id>k__BackingField;
163
164 // Token: 0x04000036 RID: 54
167 private UserScope <userScope>k__BackingField;
168
169 // Token: 0x04000037 RID: 55
172 private Range <range>k__BackingField;
173
174 // Token: 0x04000038 RID: 56
177 private TimeScope <timeScope>k__BackingField;
178 }
179}
class f__AnonymousType0<< Count > j__TPar