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
ResourcePackVersion.cs
Go to the documentation of this file.
1using System;
6
7namespace Terraria.IO
8{
9 // Token: 0x02000567 RID: 1383
10 [DebuggerDisplay("Version {Major}.{Minor}")]
11 public struct ResourcePackVersion : IComparable, IComparable<ResourcePackVersion>
12 {
13 // Token: 0x17000677 RID: 1655
14 // (get) Token: 0x060033B7 RID: 13239 RVA: 0x000021DB File Offset: 0x000003DB
15 // (set) Token: 0x060033B8 RID: 13240 RVA: 0x002005C8 File Offset: 0x001FE7C8
16 [JsonProperty("major")]
17 public int Major
18 {
20 readonly get
21 {
22 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
23 }
25 private set
26 {
28 }
29 }
30
31 // Token: 0x17000678 RID: 1656
32 // (get) Token: 0x060033B9 RID: 13241 RVA: 0x002005DC File Offset: 0x001FE7DC
33 // (set) Token: 0x060033BA RID: 13242 RVA: 0x002005F0 File Offset: 0x001FE7F0
34 [JsonProperty("minor")]
35 public int Minor
36 {
38 readonly get
39 {
40 return this.<Minor>k__BackingField;
41 }
43 private set
44 {
46 }
47 }
48
49 // Token: 0x060033BB RID: 13243 RVA: 0x00200604 File Offset: 0x001FE804
50 public int CompareTo(object obj)
51 {
52 if (obj != null)
53 {
54 int num;
55 return num;
56 }
57 return 1;
58 }
59
60 // Token: 0x060033BC RID: 13244 RVA: 0x00200618 File Offset: 0x001FE818
62 {
63 int num;
64 if (num == 0)
65 {
66 int num2 = this.<Minor>k__BackingField;
67 }
68 int num3;
69 return num3;
70 }
71
72 // Token: 0x060033BD RID: 13245 RVA: 0x000021DB File Offset: 0x000003DB
74 {
75 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
76 }
77
78 // Token: 0x060033BE RID: 13246 RVA: 0x000021DB File Offset: 0x000003DB
80 {
81 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
82 }
83
84 // Token: 0x060033BF RID: 13247 RVA: 0x000021DB File Offset: 0x000003DB
86 {
87 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
88 }
89
90 // Token: 0x060033C0 RID: 13248 RVA: 0x000021DB File Offset: 0x000003DB
92 {
93 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
94 }
95
96 // Token: 0x060033C1 RID: 13249 RVA: 0x00200630 File Offset: 0x001FE830
97 public override bool Equals(object obj)
98 {
99 if (obj != null)
100 {
101 return;
102 }
103 }
104
105 // Token: 0x060033C2 RID: 13250 RVA: 0x00200644 File Offset: 0x001FE844
106 public override int GetHashCode()
107 {
108 int num = this.<Major>k__BackingField;
109 int num2;
110 return num2;
111 }
112
113 // Token: 0x060033C3 RID: 13251 RVA: 0x0020065C File Offset: 0x001FE85C
114 public string GetFormattedVersion()
115 {
116 int num = this.<Minor>k__BackingField;
117 string text;
118 string text2;
119 return text + "." + text2;
120 }
121
122 // Token: 0x04003C65 RID: 15461
124 private int <Major>k__BackingField;
125
126 // Token: 0x04003C66 RID: 15462
128 private int <Minor>k__BackingField;
129 }
130}
class f__AnonymousType0<< Count > j__TPar
override bool Equals(object obj)
static bool operator!=(ResourcePackVersion lhs, ResourcePackVersion rhs)
static bool operator==(ResourcePackVersion lhs, ResourcePackVersion rhs)
static bool operator<(ResourcePackVersion lhs, ResourcePackVersion rhs)
int CompareTo(ResourcePackVersion other)
static bool operator>(ResourcePackVersion lhs, ResourcePackVersion rhs)