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.
1using System;
4
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 }
17 base..ctor();
21 this.m_UserID = "0";
23 this.m_Rank = 1;
24 }
25
26 // Token: 0x0600002B RID: 43 RVA: 0x000024F0 File Offset: 0x000006F0
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 }
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 {
69 get
70 {
71 return this.<leaderboardID>k__BackingField;
72 }
74 set
75 {
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 {
86 get
87 {
88 return this.<value>k__BackingField;
89 }
91 set
92 {
94 }
95 }
96
97 // Token: 0x04000029 RID: 41
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
112 private string <leaderboardID>k__BackingField;
113
114 // Token: 0x0400002E RID: 46
117 private long <value>k__BackingField;
118 }
119}
class f__AnonymousType0<< Count > j__TPar
string< leaderboardID > k__BackingField
Definition Score.cs:112
Score(string leaderboardID, long value, string userID, DateTime date, string formattedValue, int rank)
Definition Score.cs:27
Score(string leaderboardID, long value)
Definition Score.cs:11
static DateTime Now
Definition DateTime.cs:530