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
UIHairStyleButton.cs
Go to the documentation of this file.
1using System;
10using Terraria.UI;
11
13{
14 [global::Cpp2ILInjected.Token(Token = "0x2000AB5")]
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x60050CD")]
18 [global::Cpp2ILInjected.Address(RVA = "0x927F28", Offset = "0x927F28", Length = "0x2D8")]
19 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIImageButton), Member = ".ctor", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StyleDimension), Member = "FromPixels", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(StyleDimension))]
23 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x60050CE")]
30 [global::Cpp2ILInjected.Address(RVA = "0x9282E0", Offset = "0x9282E0", Length = "0x8")]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
33 {
34 throw null;
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x60050CF")]
38 [global::Cpp2ILInjected.Address(RVA = "0x9282E8", Offset = "0x9282E8", Length = "0x3FC")]
39 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
42 {
43 typeof(int),
44 typeof(int),
45 typeof(int),
46 typeof(int),
47 typeof(float),
48 typeof(float)
49 }, ReturnType = typeof(SoundEffectInstance))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
51 {
52 typeof(float),
53 typeof(float)
54 }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIImageButton), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalculatedStyle), Member = "Center", ReturnType = typeof(Vector2))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Size", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(Vector2))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
59 {
61 typeof(float)
62 }, ReturnType = typeof(Vector2))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
64 {
67 }, ReturnType = typeof(Vector2))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
69 {
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_Camera", ReturnType = typeof(Camera))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
76 {
79 }, ReturnType = typeof(Vector2))]
80 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
81 protected override void DrawSelf(SpriteBatch spriteBatch)
82 {
83 throw null;
84 }
85
86 [global::Cpp2ILInjected.Token(Token = "0x60050D0")]
87 [global::Cpp2ILInjected.Address(RVA = "0x928840", Offset = "0x928840", Length = "0x54")]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
90 {
91 typeof(int),
92 typeof(int),
93 typeof(int),
94 typeof(int),
95 typeof(float),
96 typeof(float)
97 }, ReturnType = typeof(SoundEffectInstance))]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "LeftMouseDown", MemberParameters = new object[] { typeof(UIMouseEvent) }, ReturnType = typeof(void))]
99 public override void LeftMouseDown(UIMouseEvent evt)
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x60050D1")]
105 [global::Cpp2ILInjected.Address(RVA = "0x928894", Offset = "0x928894", Length = "0x48")]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "MouseOver", MemberParameters = new object[] { typeof(UIMouseEvent) }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
109 {
110 typeof(int),
111 typeof(int),
112 typeof(int),
113 typeof(int),
114 typeof(float),
115 typeof(float)
116 }, ReturnType = typeof(SoundEffectInstance))]
117 public override void MouseOver(UIMouseEvent evt)
118 {
119 throw null;
120 }
121
122 [global::Cpp2ILInjected.Token(Token = "0x60050D2")]
123 [global::Cpp2ILInjected.Address(RVA = "0x92890C", Offset = "0x92890C", Length = "0x1C")]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "MouseOut", MemberParameters = new object[] { typeof(UIMouseEvent) }, ReturnType = typeof(void))]
126 public override void MouseOut(UIMouseEvent evt)
127 {
128 throw null;
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x400898C")]
132 [global::Cpp2ILInjected.FieldOffset(Offset = "0x160")]
134
135 [global::Cpp2ILInjected.Token(Token = "0x400898D")]
136 [global::Cpp2ILInjected.FieldOffset(Offset = "0x168")]
138
139 [global::Cpp2ILInjected.Token(Token = "0x400898E")]
140 [global::Cpp2ILInjected.FieldOffset(Offset = "0x170")]
142
143 [global::Cpp2ILInjected.Token(Token = "0x400898F")]
144 [global::Cpp2ILInjected.FieldOffset(Offset = "0x178")]
146
147 [global::Cpp2ILInjected.Token(Token = "0x4008990")]
148 [global::Cpp2ILInjected.FieldOffset(Offset = "0x180")]
149 private bool _hovered;
150
151 [global::Cpp2ILInjected.Token(Token = "0x4008991")]
152 [global::Cpp2ILInjected.FieldOffset(Offset = "0x181")]
153 private bool _soundedHover;
154
155 [global::Cpp2ILInjected.Token(Token = "0x4008992")]
156 [global::Cpp2ILInjected.FieldOffset(Offset = "0x184")]
157 private int _framesToSkip;
158 }
159}
class f__AnonymousType0<< Count > j__TPar
override void DrawSelf(SpriteBatch spriteBatch)