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_OldSwitch.cs
Go to the documentation of this file.
1using System;
2using System.IO;
4using Terraria;
5using Terraria.IO;
6
7// Token: 0x020002E1 RID: 737
8internal class Player_OldSwitch
9{
10 // Token: 0x060010F5 RID: 4341 RVA: 0x000021DB File Offset: 0x000003DB
12 {
13 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
14 }
15
16 // Token: 0x060010F6 RID: 4342 RVA: 0x000544A8 File Offset: 0x000526A8
17 public static bool LoadPlayer(string playerPath, PlayerFileData playerData)
18 {
19 if (!true)
20 {
21 }
22 long num = 0L;
24 BitsByte bitsByte = (bitsByte2[(int)num] ? 1 : 0);
25 long num2 = 0L;
26 return bitsByte[(int)num2];
27 }
28
29 // Token: 0x060010F7 RID: 4343 RVA: 0x00054640 File Offset: 0x00052840
30 private static void GivePlayerCoins(Player player, int value)
31 {
32 Item[] inventory = player.inventory;
33 }
34
35 // Token: 0x060010F8 RID: 4344 RVA: 0x000546B8 File Offset: 0x000528B8
37 {
38 }
39
40 // Token: 0x060010F9 RID: 4345 RVA: 0x000546CC File Offset: 0x000528CC
41 // Note: this type is marked as 'beforefieldinit'.
43 {
44 }
45
46 // Token: 0x040020CF RID: 8399
47 private const int PlayerFileVersion_GUID = 1000;
48
49 // Token: 0x040020D0 RID: 8400
50 private const int PlayerFileVersion_1_3_1 = 1001;
51
52 // Token: 0x040020D1 RID: 8401
53 private const int PlayerFileVersion_1_3_4 = 1002;
54
55 // Token: 0x040020D2 RID: 8402
56 private const int PlayerFileVersion_RemapENGINEItems = 1003;
57
58 // Token: 0x040020D3 RID: 8403
60
61 // Token: 0x040020D4 RID: 8404
62 public static byte[] EncryptionKey;
63}
class f__AnonymousType0<< Count > j__TPar
const int PlayerFileVersion_GUID
static byte[] EncryptionKey
static void GivePlayerCoins(Player player, int value)
const int PlayerFileVersion_RememberDPadShortcut
const int PlayerFileVersion_RemapENGINEItems
const int PlayerFileVersion_1_3_4
static bool LoadPlayer(string playerPath, PlayerFileData playerData)
const int PlayerFileVersion_1_3_1
static short ReadItemID(BinaryReader fileIO, int playerFileVersion)
Item[] inventory
Definition Player.cs:21263