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
Score.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Diagnostics
;
3
using
System.Runtime.CompilerServices
;
4
5
namespace
UnityEngine.SocialPlatforms.Impl
6
{
7
// Token: 0x02000011 RID: 17
8
public
class
Score
:
IScore
9
{
10
// Token: 0x0600002A RID: 42 RVA: 0x000024A0 File Offset: 0x000006A0
11
public
Score
(
string
leaderboardID
,
long
value
)
12
{
13
if
(!
true
)
14
{
15
}
16
DateTime
now
=
DateTime
.
Now
;
17
base
..ctor();
18
this.leaderboardID
=
leaderboardID
;
19
this.value
=
value
;
20
this.m_FormattedValue
=
""
;
21
this.m_UserID
=
"0"
;
22
this.m_Date
=
now
;
23
this.m_Rank
= 1;
24
}
25
26
// Token: 0x0600002B RID: 43 RVA: 0x000024F0 File Offset: 0x000006F0
27
public
Score
(
string
leaderboardID
,
long
value
,
string
userID
,
DateTime
date
,
string
formattedValue
,
int
rank)
28
{
29
this.leaderboardID
=
leaderboardID
;
30
this.value
=
value
;
31
this.m_FormattedValue
=
formattedValue
;
32
this.m_UserID
=
userID
;
33
this.m_Date
=
date
;
34
this.m_Rank
= rank;
35
}
36
37
// Token: 0x0600002C RID: 44 RVA: 0x00002530 File Offset: 0x00000730
38
public
override
string
ToString
()
39
{
40
string
text
;
41
if
((
"Rank: '"
==
null
||
"Rank: '"
!=
null
) && (
text
==
null
||
text
!=
null
) && (
"' Value: '"
==
null
||
"' Value: '"
!=
null
))
42
{
43
long
num = this.<
value
>
k__BackingField
;
44
string
text2;
45
if
((text2 ==
null
|| text2 !=
null
) && (
"' Category: '"
==
null
||
"' Category: '"
!=
null
))
46
{
47
string
text3
= this.<
leaderboardID
>
k__BackingField
;
48
if
((text3 ==
null
||
text3
!=
null
) && (
"' PlayerID: '"
==
null
||
"' PlayerID: '"
!=
null
))
49
{
50
string
userID
= this.
m_UserID
;
51
string
text4
;
52
if
((userID ==
null
||
userID
!=
null
) && (
"' Date: '"
==
null
||
"' Date: '"
!=
null
) && (
text4
==
null
||
text4
!=
null
))
53
{
54
string
text5
;
55
return
text5
;
56
}
57
}
58
}
59
}
60
throw
new
ArrayTypeMismatchException
();
61
}
62
63
// Token: 0x17000014 RID: 20
64
// (get) Token: 0x0600002D RID: 45 RVA: 0x000025D4 File Offset: 0x000007D4
65
// (set) Token: 0x0600002E RID: 46 RVA: 0x000025E8 File Offset: 0x000007E8
66
public
string
leaderboardID
67
{
68
[
CompilerGenerated
]
69
get
70
{
71
return
this.<
leaderboardID
>
k__BackingField
;
72
}
73
[
CompilerGenerated
]
74
set
75
{
76
this.<
leaderboardID
>
k__BackingField
=
value
;
77
}
78
}
79
80
// Token: 0x17000015 RID: 21
81
// (get) Token: 0x0600002F RID: 47 RVA: 0x000025FC File Offset: 0x000007FC
82
// (set) Token: 0x06000030 RID: 48 RVA: 0x00002610 File Offset: 0x00000810
83
public
long
value
84
{
85
[
CompilerGenerated
]
86
get
87
{
88
return
this.<
value
>
k__BackingField
;
89
}
90
[
CompilerGenerated
]
91
set
92
{
93
this.<
value
>
k__BackingField
=
value
;
94
}
95
}
96
97
// Token: 0x04000029 RID: 41
98
private
DateTime
m_Date
;
99
100
// Token: 0x0400002A RID: 42
101
private
string
m_FormattedValue
;
102
103
// Token: 0x0400002B RID: 43
104
private
string
m_UserID
;
105
106
// Token: 0x0400002C RID: 44
107
private
int
m_Rank
;
108
109
// Token: 0x0400002D RID: 45
110
[
CompilerGenerated
]
111
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
112
private
string <leaderboardID>
k__BackingField
;
113
114
// Token: 0x0400002E RID: 46
115
[
CompilerGenerated
]
116
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
117
private
long <value>
k__BackingField
;
118
}
119
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
UnityEngine.SocialPlatforms.Impl.Score.k__BackingField
long< value > k__BackingField
Definition
Score.cs:117
UnityEngine.SocialPlatforms.Impl.Score.m_Rank
int m_Rank
Definition
Score.cs:107
UnityEngine.SocialPlatforms.Impl.Score.k__BackingField
string< leaderboardID > k__BackingField
Definition
Score.cs:112
UnityEngine.SocialPlatforms.Impl.Score.m_UserID
string m_UserID
Definition
Score.cs:104
UnityEngine.SocialPlatforms.Impl.Score.leaderboardID
string leaderboardID
Definition
Score.cs:67
UnityEngine.SocialPlatforms.Impl.Score.Score
Score(string leaderboardID, long value, string userID, DateTime date, string formattedValue, int rank)
Definition
Score.cs:27
UnityEngine.SocialPlatforms.Impl.Score.value
long value
Definition
Score.cs:84
UnityEngine.SocialPlatforms.Impl.Score.m_Date
DateTime m_Date
Definition
Score.cs:98
UnityEngine.SocialPlatforms.Impl.Score.ToString
override string ToString()
Definition
Score.cs:38
UnityEngine.SocialPlatforms.Impl.Score.Score
Score(string leaderboardID, long value)
Definition
Score.cs:11
UnityEngine.SocialPlatforms.Impl.Score.m_FormattedValue
string m_FormattedValue
Definition
Score.cs:101
UnityEngine.SocialPlatforms.Impl.Score
Definition
Score.cs:9
UnityEngine.SocialPlatforms.IScore
Definition
IScore.cs:7
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
Definition
__ComObject.cs:4
UnityEngine.SocialPlatforms.Impl
Definition
Achievement.cs:4
System.DateTime.Now
static DateTime Now
Definition
DateTime.cs:530
System.DateTime
Definition
DateTime.cs:13
source
UnityEngine.GameCenterModule
UnityEngine
SocialPlatforms
Impl
Score.cs
Generated by
1.10.0