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
SpriteFrame.cs
Go to the documentation of this file.
1using System;
6using Terraria.Map;
7using Terraria.UI;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000677")]
13 public struct SpriteFrame
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x170006AA")]
16 public byte CurrentColumn
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x6003739")]
19 [global::Cpp2ILInjected.Address(RVA = "0x141E3B4", Offset = "0x141E3B4", Length = "0x8")]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 get
22 {
23 throw null;
24 }
25 [global::Cpp2ILInjected.Token(Token = "0x600373A")]
26 [global::Cpp2ILInjected.Address(RVA = "0x141E3BC", Offset = "0x141E3BC", Length = "0x8")]
27 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
28 set
29 {
30 throw null;
31 }
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x170006AB")]
35 public byte CurrentRow
36 {
37 [global::Cpp2ILInjected.Token(Token = "0x600373B")]
38 [global::Cpp2ILInjected.Address(RVA = "0x141E3C4", Offset = "0x141E3C4", Length = "0x8")]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
40 get
41 {
42 throw null;
43 }
44 [global::Cpp2ILInjected.Token(Token = "0x600373C")]
45 [global::Cpp2ILInjected.Address(RVA = "0x141E3CC", Offset = "0x141E3CC", Length = "0x8")]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
47 set
48 {
49 throw null;
50 }
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x600373D")]
54 [global::Cpp2ILInjected.Address(RVA = "0x141E3D4", Offset = "0x141E3D4", Length = "0x18")]
55 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "set_numFrames", MemberParameters = new object[] { typeof(byte) }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "NewGore", MemberParameters = new object[]
58 {
61 typeof(int),
62 typeof(float)
63 }, ReturnType = typeof(int))]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = ".ctor", ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MapOverlayDrawContext), Member = "Draw", MemberParameters = new object[]
66 {
70 }, ReturnType = typeof(MapOverlayDrawContext.DrawResult))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PingMapLayer), Member = "Draw", MemberParameters = new object[]
72 {
74 typeof(ref string)
75 }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.ButterfliesSkyEntity", Member = ".ctor", MemberParameters = new object[]
77 {
80 }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.LostKiteSkyEntity", Member = ".ctor", MemberParameters = new object[]
82 {
85 }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.PegasusSkyEntity", Member = ".ctor", MemberParameters = new object[]
87 {
90 }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.VultureSkyEntity", Member = ".ctor", MemberParameters = new object[]
92 {
95 }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.PixiePosseSkyEntity", Member = ".ctor", MemberParameters = new object[]
97 {
100 }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.BirdsPackSkyEntity", Member = ".ctor", MemberParameters = new object[]
102 {
103 typeof(Player),
105 }, ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SeagullsGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
107 {
108 typeof(Player),
110 }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.GastropodGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
112 {
113 typeof(Player),
115 }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SlimeBalloonGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
117 {
118 typeof(Player),
120 }, ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.HellBatsGoupSkyEntity", Member = ".ctor", MemberParameters = new object[]
122 {
123 typeof(Player),
125 }, ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.BatsGroupSkyEntity", Member = ".ctor", MemberParameters = new object[]
127 {
128 typeof(Player),
130 }, ReturnType = typeof(void))]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.WyvernSkyEntity", Member = ".ctor", MemberParameters = new object[]
132 {
133 typeof(Player),
135 }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.AirshipSkyEntity", Member = ".ctor", MemberParameters = new object[]
137 {
138 typeof(Player),
140 }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.AirBalloonSkyEntity", Member = ".ctor", MemberParameters = new object[]
142 {
143 typeof(Player),
145 }, ReturnType = typeof(void))]
146 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.CrimeraSkyEntity", Member = ".ctor", MemberParameters = new object[]
147 {
148 typeof(Player),
150 }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.EOSSkyEntity", Member = ".ctor", MemberParameters = new object[]
152 {
153 typeof(Player),
155 }, ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.EOCSkyEntity", Member = ".ctor", MemberParameters = new object[]
157 {
158 typeof(Player),
160 }, ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.MeteorSkyEntity", Member = ".ctor", MemberParameters = new object[]
162 {
163 typeof(Player),
165 }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 28)]
167 public SpriteFrame(byte columns, byte rows)
168 {
169 throw null;
170 }
171
172 [global::Cpp2ILInjected.Token(Token = "0x600373E")]
173 [global::Cpp2ILInjected.Address(RVA = "0x141E3EC", Offset = "0x141E3EC", Length = "0x1C")]
174 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
175 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TeleportPylonsMapLayer), Member = "Draw", MemberParameters = new object[]
176 {
178 typeof(ref string)
179 }, ReturnType = typeof(void))]
180 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
181 public SpriteFrame(byte columns, byte rows, byte currentColumn, byte currentRow)
182 {
183 throw null;
184 }
185
186 [global::Cpp2ILInjected.Token(Token = "0x600373F")]
187 [global::Cpp2ILInjected.Address(RVA = "0x141E408", Offset = "0x141E408", Length = "0x20")]
188 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
189 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
191 {
192 throw null;
193 }
194
195 [global::Cpp2ILInjected.Token(Token = "0x6003740")]
196 [global::Cpp2ILInjected.Address(RVA = "0x141E428", Offset = "0x141E428", Length = "0x7C")]
197 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
198 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawGoreBehind", ReturnType = typeof(void))]
199 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawGore", ReturnType = typeof(void))]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "get_Width", ReturnType = typeof(float))]
201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "get_Height", ReturnType = typeof(float))]
202 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "get_AABBRectangle", ReturnType = typeof(Rectangle))]
203 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MapOverlayDrawContext), Member = "Draw", MemberParameters = new object[]
204 {
209 }, ReturnType = typeof(MapOverlayDrawContext.DrawResult))]
210 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MapOverlayDrawContext), Member = "Draw", MemberParameters = new object[]
211 {
214 typeof(Color),
215 typeof(SpriteFrame),
216 typeof(float),
217 typeof(float),
219 }, ReturnType = typeof(MapOverlayDrawContext.DrawResult))]
220 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Skies.AmbientSky.SkyEntity", Member = "get_SourceRectangle", ReturnType = typeof(Rectangle))]
221 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
222 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
223 {
224 typeof(int),
225 typeof(int),
226 typeof(int),
227 typeof(int)
228 }, ReturnType = typeof(void))]
230 {
231 throw null;
232 }
233
234 [global::Cpp2ILInjected.Token(Token = "0x400782C")]
235 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
236 public int PaddingX;
237
238 [global::Cpp2ILInjected.Token(Token = "0x400782D")]
239 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
240 public int PaddingY;
241
242 [global::Cpp2ILInjected.Token(Token = "0x400782E")]
243 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
244 private byte _currentColumn;
245
246 [global::Cpp2ILInjected.Token(Token = "0x400782F")]
247 [global::Cpp2ILInjected.FieldOffset(Offset = "0x9")]
248 private byte _currentRow;
249
250 [global::Cpp2ILInjected.Token(Token = "0x4007830")]
251 [global::Cpp2ILInjected.FieldOffset(Offset = "0xA")]
253
254 [global::Cpp2ILInjected.Token(Token = "0x4007831")]
255 [global::Cpp2ILInjected.FieldOffset(Offset = "0xB")]
256 public readonly byte RowCount;
257 }
258}
class f__AnonymousType0<< Count > j__TPar
SpriteFrame With(byte columnToUse, byte rowToUse)
Rectangle GetSourceRectangle(Texture2D texture)
SpriteFrame(byte columns, byte rows)
SpriteFrame(byte columns, byte rows, byte currentColumn, byte currentRow)