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
Player_OldMobile.cs
Go to the documentation of this file.
1using System;
2using System.IO;
3
4namespace Terraria.IO
5{
6 // Token: 0x02000571 RID: 1393
7 public static class Player_OldMobile
8 {
9 // Token: 0x060033D8 RID: 13272 RVA: 0x00200C74 File Offset: 0x001FEE74
10 public static bool LoadPlayer(string playerPath, PlayerFileData playerData)
11 {
12 if (!true)
13 {
14 }
15 long num = 0L;
16 int num2 = 2;
17 if (num == 0L)
18 {
19 long num3 = 0L;
20 if (num2 == 0)
21 {
22 }
23 if (num3 == 0L)
24 {
25 }
26 throw new OutOfMemoryException();
27 }
28 throw new OutOfMemoryException();
29 }
30
31 // Token: 0x060033D9 RID: 13273 RVA: 0x00200CB8 File Offset: 0x001FEEB8
32 private static void DecryptPlayerData(long offset, long encryptedSize)
33 {
34 if (!true)
35 {
36 }
37 }
38
39 // Token: 0x060033DA RID: 13274 RVA: 0x00200CCC File Offset: 0x001FEECC
40 private static bool IsValidBuff(int buffType)
41 {
42 }
43
44 // Token: 0x060033DB RID: 13275 RVA: 0x00200CDC File Offset: 0x001FEEDC
45 private static void GivePlayerCoins(Player player, int value)
46 {
47 Item[] inventory = player.inventory;
48 }
49
50 // Token: 0x060033DC RID: 13276 RVA: 0x00200D54 File Offset: 0x001FEF54
51 private static bool LoadOld(BinaryReader reader, int release, Player player)
52 {
53 bool flag;
54 return flag;
55 }
56
57 // Token: 0x060033DD RID: 13277 RVA: 0x00200DDC File Offset: 0x001FEFDC
58 private static bool Load(BinaryReader reader, Player player)
59 {
60 bool flag;
61 return flag;
62 }
63
64 // Token: 0x060033DE RID: 13278 RVA: 0x00200E5C File Offset: 0x001FF05C
65 // Note: this type is marked as 'beforefieldinit'.
67 {
68 }
69
70 // Token: 0x04003E1B RID: 15899
71 private const int VERSION_1 = 1;
72
73 // Token: 0x04003E1C RID: 15900
74 private const int VERSION_2 = 2;
75
76 // Token: 0x04003E1D RID: 15901
77 private const int VERSION_3 = 3;
78
79 // Token: 0x04003E1E RID: 15902
80 private const int VERSION_4 = 4;
81
82 // Token: 0x04003E1F RID: 15903
83 private const int VERSION_7 = 7;
84
85 // Token: 0x04003E20 RID: 15904
86 private const int VERSION_9 = 9;
87
88 // Token: 0x04003E21 RID: 15905
89 private const int VERSION_10 = 10;
90
91 // Token: 0x04003E22 RID: 15906
92 private const int VERSION_11 = 11;
93
94 // Token: 0x04003E23 RID: 15907
95 private const int VERSION_12 = 12;
96
97 // Token: 0x04003E24 RID: 15908
98 private const int VERSION_13 = 13;
99
100 // Token: 0x04003E25 RID: 15909
101 private const int VERSION_14 = 14;
102
103 // Token: 0x04003E26 RID: 15910
104 private const int VERSION_15 = 15;
105
106 // Token: 0x04003E27 RID: 15911
107 private const int VERSION_16 = 16;
108
109 // Token: 0x04003E28 RID: 15912
110 private const int VERSION_17 = 17;
111
112 // Token: 0x04003E29 RID: 15913
113 private const int VERSION_18 = 18;
114
115 // Token: 0x04003E2A RID: 15914
116 private const int VERSION_19 = 19;
117
118 // Token: 0x04003E2B RID: 15915
119 private const int VERSION_20 = 20;
120
121 // Token: 0x04003E2C RID: 15916
122 private const int VERSION_21 = 21;
123
124 // Token: 0x04003E2D RID: 15917
125 private const int VERSION_22 = 22;
126
127 // Token: 0x04003E2E RID: 15918
128 private const int VERSION_23 = 23;
129
130 // Token: 0x04003E2F RID: 15919
131 private const int VERSION_24 = 24;
132
133 // Token: 0x04003E30 RID: 15920
134 private const int VERSION_CURRENT = 24;
135
136 // Token: 0x04003E31 RID: 15921
137 private const int PLAYER_DATA_VERSION = 24;
138
139 // Token: 0x04003E32 RID: 15922
140 private static BlowFish playerDecrypter;
141
142 // Token: 0x04003E33 RID: 15923
143 private static byte[] inputData;
144 }
145}
class f__AnonymousType0<< Count > j__TPar
static bool LoadPlayer(string playerPath, PlayerFileData playerData)
static bool IsValidBuff(int buffType)
static bool LoadOld(BinaryReader reader, int release, Player player)
static bool Load(BinaryReader reader, Player player)
static void GivePlayerCoins(Player player, int value)
static void DecryptPlayerData(long offset, long encryptedSize)
Item[] inventory
Definition Player.cs:21263