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
UIImageButton.cs
Go to the documentation of this file.
1using System;
10using Terraria.UI;
11
13{
14 [global::Cpp2ILInjected.Token(Token = "0x2000ABA")]
15 public class UIImageButton : UIElement
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x60050E6")]
18 [global::Cpp2ILInjected.Address(RVA = "0x928200", Offset = "0x928200", Length = "0xE0")]
19 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryTest), Member = "AddBackAndForwardButtons", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryTest), Member = "AddSortAndFilterButtons", MemberParameters = new object[]
22 {
25 }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryTest), Member = "AddSearchBar", MemberParameters = new object[]
27 {
30 }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UICreativeInfiniteItemsDisplay), Member = "AddSearchBar", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIHairStyleButton), Member = ".ctor", MemberParameters = new object[]
33 {
35 typeof(int)
36 }, ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = ".ctor", ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Width", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StyleDimension), Member = "Set", MemberParameters = new object[]
41 {
42 typeof(float),
43 typeof(float)
44 }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Height", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
46 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
48 {
49 throw null;
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x60050E7")]
53 [global::Cpp2ILInjected.Address(RVA = "0x92A030", Offset = "0x92A030", Length = "0x8")]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
55 public void SetHoverImage(Asset<Texture2D> texture)
56 {
57 throw null;
58 }
59
60 [global::Cpp2ILInjected.Token(Token = "0x60050E8")]
61 [global::Cpp2ILInjected.Address(RVA = "0x92A038", Offset = "0x92A038", Length = "0xA4")]
62 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
63 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Width", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StyleDimension), Member = "Set", MemberParameters = new object[]
66 {
67 typeof(float),
68 typeof(float)
69 }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Height", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
71 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
72 public void SetImage(Asset<Texture2D> texture)
73 {
74 throw null;
75 }
76
77 [global::Cpp2ILInjected.Token(Token = "0x60050E9")]
78 [global::Cpp2ILInjected.Address(RVA = "0x9286E4", Offset = "0x9286E4", Length = "0x15C")]
79 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIHairStyleButton), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalculatedStyle), Member = "Position", ReturnType = typeof(Vector2))]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
84 {
86 typeof(float)
87 }, ReturnType = typeof(Color))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
89 {
93 }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
95 protected override void DrawSelf(SpriteBatch spriteBatch)
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x60050EA")]
101 [global::Cpp2ILInjected.Address(RVA = "0x9288DC", Offset = "0x9288DC", Length = "0x30")]
102 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "MouseOver", MemberParameters = new object[] { typeof(UIMouseEvent) }, ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
105 {
106 typeof(int),
107 typeof(int),
108 typeof(int),
109 typeof(int),
110 typeof(float),
111 typeof(float)
112 }, ReturnType = typeof(SoundEffectInstance))]
113 public override void MouseOver(UIMouseEvent evt)
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x60050EB")]
119 [global::Cpp2ILInjected.Address(RVA = "0x928928", Offset = "0x928928", Length = "0x8")]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "MouseOut", MemberParameters = new object[] { typeof(UIMouseEvent) }, ReturnType = typeof(void))]
122 public override void MouseOut(UIMouseEvent evt)
123 {
124 throw null;
125 }
126
127 [global::Cpp2ILInjected.Token(Token = "0x60050EC")]
128 [global::Cpp2ILInjected.Address(RVA = "0x92A0DC", Offset = "0x92A0DC", Length = "0x4C")]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryTest), Member = "AddBackAndForwardButtons", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryTest), Member = "AddSortAndFilterButtons", MemberParameters = new object[]
131 {
133 typeof(UIBestiaryEntryInfoPage)
134 }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryTest), Member = "AddSearchBar", MemberParameters = new object[]
136 {
138 typeof(UIBestiaryEntryInfoPage)
139 }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UICreativeInfiniteItemsDisplay), Member = "AddSearchBar", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MathHelper), Member = "Clamp", MemberParameters = new object[]
143 {
144 typeof(float),
145 typeof(float),
146 typeof(float)
147 }, ReturnType = typeof(float))]
148 public void SetVisibility(float whenActive, float whenInactive)
149 {
150 throw null;
151 }
152
153 [global::Cpp2ILInjected.Token(Token = "0x40089A9")]
154 [global::Cpp2ILInjected.FieldOffset(Offset = "0x148")]
156
157 [global::Cpp2ILInjected.Token(Token = "0x40089AA")]
158 [global::Cpp2ILInjected.FieldOffset(Offset = "0x150")]
159 private float _visibilityActive;
160
161 [global::Cpp2ILInjected.Token(Token = "0x40089AB")]
162 [global::Cpp2ILInjected.FieldOffset(Offset = "0x154")]
163 private float _visibilityInactive;
164
165 [global::Cpp2ILInjected.Token(Token = "0x40089AC")]
166 [global::Cpp2ILInjected.FieldOffset(Offset = "0x158")]
168 }
169}
class f__AnonymousType0<< Count > j__TPar
void SetVisibility(float whenActive, float whenInactive)
void SetHoverImage(Asset< Texture2D > texture)
override void MouseOut(UIMouseEvent evt)
override void MouseOver(UIMouseEvent evt)
override void DrawSelf(SpriteBatch spriteBatch)
void SetImage(Asset< Texture2D > texture)