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
ResourceDrawSettings.cs
Go to the documentation of this file.
1using System;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000A88")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6004FA7")]
14 [global::Cpp2ILInjected.Address(RVA = "0x90002C", Offset = "0x90002C", Length = "0x41C")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FancyClassicPlayerResourcesDisplaySet), Member = "DrawLifeBar", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FancyClassicPlayerResourcesDisplaySet), Member = "DrawManaBar", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HorizontalBarsPlayerResourcesDisplaySet), Member = "Draw", ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_MouseScreen", ReturnType = typeof(Vector2))]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToPoint", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Frame", MemberParameters = new object[]
23 {
25 typeof(int),
26 typeof(int),
27 typeof(int),
28 typeof(int),
29 typeof(int),
30 typeof(int)
31 }, ReturnType = typeof(Rectangle))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = "get_Value", ReturnType = "T")]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
34 {
37 }, ReturnType = typeof(Vector2))]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Size", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(Vector2))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
40 {
43 }, ReturnType = typeof(Vector2))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Contains", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(bool))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
47 {
52 typeof(float),
54 typeof(float),
56 typeof(float)
57 }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
59 public void Draw(SpriteBatch spriteBatch, ref bool isHovered)
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x4008890")]
65 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
67
68 [global::Cpp2ILInjected.Token(Token = "0x4008891")]
69 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
70 public int ElementCount;
71
72 [global::Cpp2ILInjected.Token(Token = "0x4008892")]
73 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC")]
75
76 [global::Cpp2ILInjected.Token(Token = "0x4008893")]
77 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
79
80 [global::Cpp2ILInjected.Token(Token = "0x4008894")]
81 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
83
84 [global::Cpp2ILInjected.Token(Token = "0x4008895")]
85 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
87
88 [global::Cpp2ILInjected.Token(Token = "0x4008896")]
89 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
91
92 [global::Cpp2ILInjected.Token(Token = "0x4008897")]
93 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
95
96 [global::Cpp2ILInjected.Token(Token = "0x2000A89")]
97 public delegate void TextureGetter(int elementIndex, int firstElementIndex, int lastElementIndex, out Asset<Texture2D> texture, out Vector2 drawOffset, out float drawScale, out Rectangle? sourceRect);
98 }
99}
class f__AnonymousType0<< Count > j__TPar
delegate void TextureGetter(int elementIndex, int firstElementIndex, int lastElementIndex, out Asset< Texture2D > texture, out Vector2 drawOffset, out float drawScale, out Rectangle? sourceRect)
void Draw(SpriteBatch spriteBatch, ref bool isHovered)