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.
1
using
System
;
2
using
System.Diagnostics
;
3
using
System.Runtime.CompilerServices
;
4
using
Cpp2IlInjected
;
5
6
namespace
UnityEngine.SocialPlatforms.Impl
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
}
59
throw
new
ArrayTypeMismatchException
();
60
}
61
62
// Token: 0x06000033 RID: 51 RVA: 0x000027A0 File Offset: 0x000009A0
63
public
void
SetScores
(
IScore
[]
scores
)
64
{
65
this.m_Scores
=
scores
;
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
{
79
[
CompilerGenerated
]
80
get
81
{
82
return
this.<
id
>
k__BackingField
;
83
}
84
[
CompilerGenerated
]
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
94
public
UserScope
userScope
95
{
96
[
CompilerGenerated
]
97
get
98
{
99
return
this.<
userScope
>
k__BackingField
;
100
}
101
[
CompilerGenerated
]
102
set
103
{
104
this.<
userScope
>
k__BackingField
=
value
;
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
111
public
Range
range
112
{
113
[
CompilerGenerated
]
114
get
115
{
116
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
117
}
118
[
CompilerGenerated
]
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
127
public
TimeScope
timeScope
128
{
129
[
CompilerGenerated
]
130
get
131
{
132
return
this.<
timeScope
>
k__BackingField
;
133
}
134
[
CompilerGenerated
]
135
set
136
{
137
this.<
timeScope
>
k__BackingField
=
value
;
138
}
139
}
140
141
// Token: 0x0400002F RID: 47
142
private
bool
m_Loading
;
143
144
// Token: 0x04000030 RID: 48
145
private
IScore
m_LocalUserScore
;
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
160
[
CompilerGenerated
]
161
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
162
private
string <id>
k__BackingField
;
163
164
// Token: 0x04000036 RID: 54
165
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
166
[
CompilerGenerated
]
167
private
UserScope <userScope>
k__BackingField
;
168
169
// Token: 0x04000037 RID: 55
170
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
171
[
CompilerGenerated
]
172
private
Range <range>
k__BackingField
;
173
174
// Token: 0x04000038 RID: 56
175
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
176
[
CompilerGenerated
]
177
private
TimeScope <timeScope>
k__BackingField
;
178
}
179
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
UnityEngine.SocialPlatforms.Impl.Leaderboard.range
Range range
Definition
Leaderboard.cs:112
UnityEngine.SocialPlatforms.Impl.Leaderboard.m_Scores
IScore[] m_Scores
Definition
Leaderboard.cs:151
UnityEngine.SocialPlatforms.Impl.Leaderboard.k__BackingField
string< id > k__BackingField
Definition
Leaderboard.cs:162
UnityEngine.SocialPlatforms.Impl.Leaderboard.timeScope
TimeScope timeScope
Definition
Leaderboard.cs:128
UnityEngine.SocialPlatforms.Impl.Leaderboard.m_MaxRange
uint m_MaxRange
Definition
Leaderboard.cs:148
UnityEngine.SocialPlatforms.Impl.Leaderboard.SetScores
void SetScores(IScore[] scores)
Definition
Leaderboard.cs:63
UnityEngine.SocialPlatforms.Impl.Leaderboard.ToString
override string ToString()
Definition
Leaderboard.cs:20
UnityEngine.SocialPlatforms.Impl.Leaderboard.Leaderboard
Leaderboard()
Definition
Leaderboard.cs:12
UnityEngine.SocialPlatforms.Impl.Leaderboard.m_UserIDs
string[] m_UserIDs
Definition
Leaderboard.cs:157
UnityEngine.SocialPlatforms.Impl.Leaderboard.SetTitle
void SetTitle(string title)
Definition
Leaderboard.cs:69
UnityEngine.SocialPlatforms.Impl.Leaderboard.k__BackingField
UserScope< userScope > k__BackingField
Definition
Leaderboard.cs:167
UnityEngine.SocialPlatforms.Impl.Leaderboard.userScope
UserScope userScope
Definition
Leaderboard.cs:95
UnityEngine.SocialPlatforms.Impl.Leaderboard.m_Loading
bool m_Loading
Definition
Leaderboard.cs:142
UnityEngine.SocialPlatforms.Impl.Leaderboard.m_Title
string m_Title
Definition
Leaderboard.cs:154
UnityEngine.SocialPlatforms.Impl.Leaderboard.k__BackingField
Range< range > k__BackingField
Definition
Leaderboard.cs:172
UnityEngine.SocialPlatforms.Impl.Leaderboard.m_LocalUserScore
IScore m_LocalUserScore
Definition
Leaderboard.cs:145
UnityEngine.SocialPlatforms.Impl.Leaderboard.k__BackingField
TimeScope< timeScope > k__BackingField
Definition
Leaderboard.cs:177
UnityEngine.SocialPlatforms.Impl.Leaderboard
Definition
Leaderboard.cs:10
UnityEngine.SocialPlatforms.IScore
Definition
IScore.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Diagnostics.DebuggerBrowsableState
DebuggerBrowsableState
Definition
DebuggerBrowsableState.cs:9
System.Diagnostics
Definition
ConditionalAttribute.cs:5
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.ExceptionArgument.text
@ text
System.ExceptionArgument.value
@ value
System
Definition
__ComObject.cs:4
UnityEngine.SocialPlatforms.Impl
Definition
Achievement.cs:4
UnityEngine.SocialPlatforms.TimeScope
TimeScope
Definition
TimeScope.cs:7
UnityEngine.SocialPlatforms.UserScope
UserScope
Definition
UserScope.cs:7
UnityEngine.SocialPlatforms.Range
Definition
Range.cs:7
source
UnityEngine.GameCenterModule
UnityEngine
SocialPlatforms
Impl
Leaderboard.cs
Generated by
1.10.0