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
NPCInfo_OldMobile.cs
Go to the documentation of this file.
1using System;
3using System.IO;
7
8namespace Terraria.IO
9{
10 [global::Cpp2ILInjected.Token(Token = "0x200056E")]
11 public class NPCInfo_OldMobile
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x60033CF")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1342130", Offset = "0x1342130", Length = "0x1B8")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldMobile), Member = "loadWorldData", MemberParameters = new object[]
17 {
19 typeof(int)
20 }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
23 {
25 typeof(int),
26 typeof(int)
27 }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "SetDefaults", MemberParameters = new object[]
29 {
30 typeof(int),
32 }, ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
34 public void LoadNPCEntries(BinaryReader reader, int release)
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x60033D0")]
40 [global::Cpp2ILInjected.Address(RVA = "0x13422E8", Offset = "0x13422E8", Length = "0x2C8")]
41 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
42 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldMobile), Member = "loadWorldData", MemberParameters = new object[]
43 {
45 typeof(int)
46 }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileHelpers), Member = "ReadNetString", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(string))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "setNPCName", MemberParameters = new object[]
50 {
51 typeof(string),
52 typeof(int),
53 typeof(bool)
54 }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "getNewNPCName", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
57 public void ReadNPCNames(BinaryReader reader, int release)
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x60033D1")]
63 [global::Cpp2ILInjected.Address(RVA = "0x13425B0", Offset = "0x13425B0", Length = "0x518")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldMobile), Member = "loadWorldData", MemberParameters = new object[]
66 {
68 typeof(int)
69 }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
72 {
74 typeof(int),
75 typeof(int)
76 }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
78 public bool Load(BinaryReader reader, int release)
79 {
80 throw null;
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x60033D2")]
84 [global::Cpp2ILInjected.Address(RVA = "0x1342AC8", Offset = "0x1342AC8", Length = "0x21C")]
85 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldMobile), Member = "loadWorldDataMeta", MemberParameters = new object[]
87 {
90 typeof(int)
91 }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
93 public bool LoadMeta(WorldFileData data, BinaryReader reader, int release)
94 {
95 throw null;
96 }
97
98 [global::Cpp2ILInjected.Token(Token = "0x60033D3")]
99 [global::Cpp2ILInjected.Address(RVA = "0x1342CE4", Offset = "0x1342CE4", Length = "0x7C")]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile_OldMobile), Member = ".cctor", ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
106 {
107 throw null;
108 }
109
110 [global::Cpp2ILInjected.Token(Token = "0x4003E11")]
111 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
112 private bool downedAnyBoss;
113
114 [global::Cpp2ILInjected.Token(Token = "0x4003E12")]
115 [global::Cpp2ILInjected.FieldOffset(Offset = "0x11")]
116 private bool downedRabbit;
117
118 [global::Cpp2ILInjected.Token(Token = "0x4003E13")]
119 [global::Cpp2ILInjected.FieldOffset(Offset = "0x12")]
120 private bool downedTurkor;
121
122 [global::Cpp2ILInjected.Token(Token = "0x4003E14")]
123 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
125
126 [global::Cpp2ILInjected.Token(Token = "0x200056F")]
127 public class NPCEntry
128 {
129 [global::Cpp2ILInjected.Token(Token = "0x60033D4")]
130 [global::Cpp2ILInjected.Address(RVA = "0x1342D60", Offset = "0x1342D60", Length = "0x8")]
131 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
133 public NPCEntry()
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x4003E15")]
139 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
140 public int npcId;
141
142 [global::Cpp2ILInjected.Token(Token = "0x4003E16")]
143 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
144 public int homeTileX;
145
146 [global::Cpp2ILInjected.Token(Token = "0x4003E17")]
147 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
148 public int homeTileY;
149
150 [global::Cpp2ILInjected.Token(Token = "0x4003E18")]
151 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
152 public bool homeless;
153
154 [global::Cpp2ILInjected.Token(Token = "0x4003E19")]
155 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
157 }
158 }
159}
class f__AnonymousType0<< Count > j__TPar
void LoadNPCEntries(BinaryReader reader, int release)
bool Load(BinaryReader reader, int release)
List< NPCInfo_OldMobile.NPCEntry > npcEntries
void ReadNPCNames(BinaryReader reader, int release)
bool LoadMeta(WorldFileData data, BinaryReader reader, int release)