terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
CalendarData.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x20005A9")]
10 [StructLayout(0)]
11 internal class CalendarData
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6002B8D")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1BEAD88", Offset = "0x1BEAD88", Length = "0x10")]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
17 private CalendarData()
18 {
19 throw null;
20 }
21
22 [global::Cpp2ILInjected.Token(Token = "0x6002B8E")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1BEAD98", Offset = "0x1BEAD98", Length = "0x11B0")]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 165)]
27 static CalendarData()
28 {
29 throw null;
30 }
31
32 [global::Cpp2ILInjected.Token(Token = "0x6002B8F")]
33 [global::Cpp2ILInjected.Address(RVA = "0x1BEBF48", Offset = "0x1BEBF48", Length = "0x508")]
34 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CultureData), Member = "GetCalendar", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(CalendarData))]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalendarData), Member = "nativeGetCalendarData", MemberParameters = new object[]
39 {
41 typeof(string),
42 typeof(int)
43 }, ReturnType = typeof(bool))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureData), Member = "ReescapeWin32Strings", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string[]))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureData), Member = "ReescapeWin32String", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalendarData), Member = "InitializeEraNames", MemberParameters = new object[]
48 {
49 typeof(string),
50 typeof(int)
51 }, ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalendarData), Member = "InitializeAbbreviatedEraNames", MemberParameters = new object[]
53 {
54 typeof(string),
55 typeof(int)
56 }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalendarData), Member = "GetJapaneseEnglishEraNames", ReturnType = typeof(string[]))]
58 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 29)]
59 internal CalendarData(string localeName, int calendarId, bool bUseUserOverrides)
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x6002B90")]
65 [global::Cpp2ILInjected.Address(RVA = "0x1BEC500", Offset = "0x1BEC500", Length = "0x368")]
66 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CalendarData), Member = ".ctor", MemberParameters = new object[]
68 {
69 typeof(string),
70 typeof(int),
71 typeof(bool)
72 }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
75 {
76 typeof(string),
77 typeof(string)
78 }, ReturnType = typeof(bool))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalendarData), Member = "GetJapaneseEraNames", ReturnType = typeof(string[]))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
81 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 29)]
82 private void InitializeEraNames(string localeName, int calendarId)
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x6002B91")]
88 [global::Cpp2ILInjected.Address(RVA = "0x1BECC28", Offset = "0x1BECC28", Length = "0xE4")]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CalendarData), Member = "InitializeEraNames", MemberParameters = new object[]
90 {
91 typeof(string),
92 typeof(int)
93 }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
97 private static string[] GetJapaneseEraNames()
98 {
99 throw null;
100 }
101
102 [global::Cpp2ILInjected.Token(Token = "0x6002B92")]
103 [global::Cpp2ILInjected.Address(RVA = "0x1BECB44", Offset = "0x1BECB44", Length = "0xE4")]
104 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CalendarData), Member = ".ctor", MemberParameters = new object[]
105 {
106 typeof(string),
107 typeof(int),
108 typeof(bool)
109 }, ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JapaneseCalendar), Member = "EnglishEraNames", ReturnType = typeof(string[]))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
114 private static string[] GetJapaneseEnglishEraNames()
115 {
116 throw null;
117 }
118
119 [global::Cpp2ILInjected.Token(Token = "0x6002B93")]
120 [global::Cpp2ILInjected.Address(RVA = "0x1BEC868", Offset = "0x1BEC868", Length = "0x2DC")]
121 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CalendarData), Member = ".ctor", MemberParameters = new object[]
123 {
124 typeof(string),
125 typeof(int),
126 typeof(bool)
127 }, ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
131 {
132 typeof(string),
133 typeof(string)
134 }, ReturnType = typeof(bool))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
136 {
137 typeof(int),
138 typeof(int)
139 }, ReturnType = typeof(string))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.PlatformNotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
142 private void InitializeAbbreviatedEraNames(string localeName, int calendarId)
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x6002B94")]
148 [global::Cpp2ILInjected.Address(RVA = "0x1BEA6A4", Offset = "0x1BEA6A4", Length = "0x9C")]
149 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Calendar), Member = "get_CurrentEraValue", ReturnType = typeof(int))]
150 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalendarData), Member = "CalendarIdToCultureName", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "GetCultureInfo", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(CultureInfo))]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureData), Member = "GetCalendar", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(CalendarData))]
154 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
155 internal static CalendarData GetCalendarData(int calendarId)
156 {
157 throw null;
158 }
159
160 [global::Cpp2ILInjected.Token(Token = "0x6002B95")]
161 [global::Cpp2ILInjected.Address(RVA = "0x1BECEDC", Offset = "0x1BECEDC", Length = "0xCC")]
162 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
163 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CalendarData), Member = "GetCalendarData", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(CalendarData))]
164 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
165 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
166 private static string CalendarIdToCultureName(int calendarId)
167 {
168 throw null;
169 }
170
171 [global::Cpp2ILInjected.Token(Token = "0x6002B96")]
172 [global::Cpp2ILInjected.Address(RVA = "0x1BEAD80", Offset = "0x1BEAD80", Length = "0x8")]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
174 public static int nativeGetTwoDigitYearMax(int calID)
175 {
176 throw null;
177 }
178
179 [global::Cpp2ILInjected.Token(Token = "0x6002B97")]
180 [global::Cpp2ILInjected.Address(RVA = "0x1BEC450", Offset = "0x1BEC450", Length = "0xB0")]
181 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
182 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CalendarData), Member = ".ctor", MemberParameters = new object[]
183 {
184 typeof(string),
185 typeof(int),
186 typeof(bool)
187 }, ReturnType = typeof(void))]
188 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLowerInvariant", ReturnType = typeof(string))]
190 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
191 private static bool nativeGetCalendarData(CalendarData data, string localeName, int calendarId)
192 {
193 throw null;
194 }
195
196 [global::Cpp2ILInjected.Token(Token = "0x6002B98")]
197 [global::Cpp2ILInjected.Address(RVA = "0x1BECFA8", Offset = "0x1BECFA8", Length = "0x4")]
198 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
199 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
200 [MethodImpl(4096)]
201 private extern bool fill_calendar_data(string localeName, int datetimeIndex);
202
203 [global::Cpp2ILInjected.Token(Token = "0x4001843")]
204 internal const int MAX_CALENDARS = 23;
205
206 [global::Cpp2ILInjected.Token(Token = "0x4001844")]
207 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
208 internal string sNativeName;
209
210 [global::Cpp2ILInjected.Token(Token = "0x4001845")]
211 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
212 internal string[] saShortDates;
213
214 [global::Cpp2ILInjected.Token(Token = "0x4001846")]
215 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
216 internal string[] saYearMonths;
217
218 [global::Cpp2ILInjected.Token(Token = "0x4001847")]
219 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
220 internal string[] saLongDates;
221
222 [global::Cpp2ILInjected.Token(Token = "0x4001848")]
223 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
224 internal string sMonthDay;
225
226 [global::Cpp2ILInjected.Token(Token = "0x4001849")]
227 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
228 internal string[] saEraNames;
229
230 [global::Cpp2ILInjected.Token(Token = "0x400184A")]
231 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
232 internal string[] saAbbrevEraNames;
233
234 [global::Cpp2ILInjected.Token(Token = "0x400184B")]
235 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
236 internal string[] saAbbrevEnglishEraNames;
237
238 [global::Cpp2ILInjected.Token(Token = "0x400184C")]
239 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
240 internal string[] saDayNames;
241
242 [global::Cpp2ILInjected.Token(Token = "0x400184D")]
243 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
244 internal string[] saAbbrevDayNames;
245
246 [global::Cpp2ILInjected.Token(Token = "0x400184E")]
247 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
248 internal string[] saSuperShortDayNames;
249
250 [global::Cpp2ILInjected.Token(Token = "0x400184F")]
251 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
252 internal string[] saMonthNames;
253
254 [global::Cpp2ILInjected.Token(Token = "0x4001850")]
255 [global::Cpp2ILInjected.FieldOffset(Offset = "0x70")]
256 internal string[] saAbbrevMonthNames;
257
258 [global::Cpp2ILInjected.Token(Token = "0x4001851")]
259 [global::Cpp2ILInjected.FieldOffset(Offset = "0x78")]
260 internal string[] saMonthGenitiveNames;
261
262 [global::Cpp2ILInjected.Token(Token = "0x4001852")]
263 [global::Cpp2ILInjected.FieldOffset(Offset = "0x80")]
264 internal string[] saAbbrevMonthGenitiveNames;
265
266 [global::Cpp2ILInjected.Token(Token = "0x4001853")]
267 [global::Cpp2ILInjected.FieldOffset(Offset = "0x88")]
268 internal string[] saLeapYearMonthNames;
269
270 [global::Cpp2ILInjected.Token(Token = "0x4001854")]
271 [global::Cpp2ILInjected.FieldOffset(Offset = "0x90")]
272 internal int iTwoDigitYearMax;
273
274 [global::Cpp2ILInjected.Token(Token = "0x4001855")]
275 [global::Cpp2ILInjected.FieldOffset(Offset = "0x94")]
276 internal int iCurrentEra;
277
278 [global::Cpp2ILInjected.Token(Token = "0x4001856")]
279 [global::Cpp2ILInjected.FieldOffset(Offset = "0x98")]
280 internal bool bUseUserOverrides;
281
282 [global::Cpp2ILInjected.Token(Token = "0x4001857")]
283 internal static CalendarData Invariant;
284
285 [global::Cpp2ILInjected.Token(Token = "0x4001858")]
286 private static string[] HEBREW_MONTH_NAMES;
287
288 [global::Cpp2ILInjected.Token(Token = "0x4001859")]
289 private static string[] HEBREW_LEAP_MONTH_NAMES;
290 }
291}
class f__AnonymousType0<< Count > j__TPar
static string[] GetJapaneseEraNames()
static string CalendarIdToCultureName(int calendarId)
void InitializeEraNames(string localeName, int calendarId)
bool fill_calendar_data(string localeName, int datetimeIndex)
static CalendarData GetCalendarData(int calendarId)
static int nativeGetTwoDigitYearMax(int calID)
void InitializeAbbreviatedEraNames(string localeName, int calendarId)
static string[] GetJapaneseEnglishEraNames()
static bool nativeGetCalendarData(CalendarData data, string localeName, int calendarId)
CalendarData(string localeName, int calendarId, bool bUseUserOverrides)