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
SaveSynchronisationState.cs
Go to the documentation of this file.
1using System;
3using System.IO;
5using Terraria;
6using Terraria.IO;
7
8// Token: 0x020002CF RID: 719
10{
11 // Token: 0x0600109E RID: 4254 RVA: 0x0005190C File Offset: 0x0004FB0C
13 {
14 this.Clear();
15 if (!true)
16 {
17 }
22 }
23
24 // Token: 0x0600109F RID: 4255 RVA: 0x00051940 File Offset: 0x0004FB40
28
29 // Token: 0x060010A0 RID: 4256 RVA: 0x00051968 File Offset: 0x0004FB68
31 {
32 if (!true)
33 {
34 }
35 IntPtr invoke_impl = sendDataFunction.invoke_impl;
36 IntPtr method_code = sendDataFunction.method_code;
37 IntPtr method = sendDataFunction.method;
38 }
39
40 // Token: 0x060010A1 RID: 4257 RVA: 0x00051990 File Offset: 0x0004FB90
44
45 // Token: 0x060010A2 RID: 4258 RVA: 0x000021DB File Offset: 0x000003DB
46 private void ReadPlayerFileData(byte[] data)
47 {
48 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
49 }
50
51 // Token: 0x060010A3 RID: 4259 RVA: 0x000519A0 File Offset: 0x0004FBA0
52 private void ReadPlayerData(BinaryReader reader, Player player)
53 {
54 player.name = reader;
55 player.difficulty = reader;
56 player.hair = reader;
57 player.hairDye = reader;
58 long num = 0L;
59 bool[] hideVisibleAccessory = player.hideVisibleAccessory;
61 bool flag = bitsByte[(int)num];
62 long num2 = 0L;
65 bool flag2 = bitsByte2[(int)num2];
66 long num3 = 0L;
69 player.statLife = reader;
70 player.statLifeMax = reader;
71 player.statMana = reader;
72 player.statManaMax = reader;
74 player.taxMoney = reader;
75 player.hairColor.R = reader;
76 player.hairColor.G = reader;
77 player.hairColor.B = reader;
78 player.skinColor.R = reader;
79 player.skinColor.G = reader;
80 player.skinColor.B = reader;
81 player.eyeColor.R = reader;
82 player.eyeColor.G = reader;
83 player.eyeColor.B = reader;
84 player.shirtColor.R = reader;
85 player.shirtColor.G = reader;
86 player.shirtColor.B = reader;
90 player.pantsColor.R = reader;
91 player.pantsColor.G = reader;
92 player.pantsColor.B = reader;
93 player.shoeColor.R = reader;
94 player.shoeColor.G = reader;
95 Item[] armor = player.armor;
96 player.shoeColor.B = reader;
97 long entityId = armor.entityId;
98 Item[] armor2 = player.armor;
99 Item[] armor3 = player.armor;
100 long entityId2 = player.dye.entityId;
101 Item[] dye = player.dye;
102 Item[] inventory = player.inventory;
103 Item[] inventory2 = player.inventory;
104 Item[] inventory3 = player.inventory;
105 long entityId3 = player.miscEquips.entityId;
106 Item[] miscEquips = player.miscEquips;
107 Item[] miscDyes = player.miscDyes;
108 Item[] miscDyes2 = player.miscDyes;
109 Item[] miscEquips2 = player.miscEquips;
110 Item[] item = player.bank.item;
111 Item[] item2 = player.bank.item;
112 Item[] item3 = player.bank.item;
113 Item[] item4 = player.bank2.item;
114 Item[] item5 = player.bank2.item;
115 Item[] item6 = player.bank2.item;
116 Item[] item7 = player.bank3.item;
117 Item[] item8 = player.bank3.item;
118 Item[] item9 = player.bank3.item;
119 Item[] item10 = player.bank4.item;
120 Item[] item11 = player.bank4.item;
121 Item[] item12 = player.bank4.item;
122 bool[] hideInfo = player.hideInfo;
125 bool[] hideInfo2 = player.hideInfo;
126 }
127
128 // Token: 0x060010A4 RID: 4260 RVA: 0x000021DB File Offset: 0x000003DB
129 private void ReadWorldFileData(byte[] data)
130 {
131 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
132 }
133
134 // Token: 0x060010A5 RID: 4261 RVA: 0x000021DB File Offset: 0x000003DB
135 public void Clear()
136 {
137 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
138 }
139
140 // Token: 0x060010A6 RID: 4262 RVA: 0x00051C68 File Offset: 0x0004FE68
142 {
143 }
144
145 // Token: 0x060010A7 RID: 4263 RVA: 0x00051C7C File Offset: 0x0004FE7C
146 // Note: this type is marked as 'beforefieldinit'.
148 {
149 }
150
151 // Token: 0x04001F7D RID: 8061
152 private static byte[] emptyMessageData;
153
154 // Token: 0x04001F7E RID: 8062
155 public bool IsSynchronised;
156
157 // Token: 0x04001F7F RID: 8063
159
160 // Token: 0x04001F80 RID: 8064
162}
class f__AnonymousType0<< Count > j__TPar
void SendEmptyMessage(SaveSynchronisationOperation.MessageId id, SaveSynchronisationOperation.SendDataFunction sendDataFunction)
void ReadPlayerData(BinaryReader reader, Player player)
List< PlayerFileData > playerFiles
void ProcessMessageResponse(SaveSynchronisationOperation.MessageId messageId, SaveSynchronisationOperation.SendDataFunction sendDataFunction)
void ProcessMessage(SaveSynchronisationOperation.MessageId messageId, byte[] data)
Item[] item
Definition Chest.cs:1344
static void LoadWorlds()
Definition Main.cs:5700
static void LoadPlayers()
Definition Main.cs:5731
Item[] miscEquips
Definition Player.cs:21134
bool[] hideInfo
Definition Player.cs:20297
bool[] hideVisibleAccessory
Definition Player.cs:21431
Item[] miscDyes
Definition Player.cs:21137
Item[] inventory
Definition Player.cs:21263