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
UICharacterNameButton.cs
Go to the documentation of this file.
1using System;
10using Terraria.UI;
11
13{
14 [global::Cpp2ILInjected.Token(Token = "0x2000AA8")]
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x6005064")]
18 [global::Cpp2ILInjected.Address(RVA = "0x90DE90", Offset = "0x90DE90", Length = "0x3F4")]
19 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = ".ctor", 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.Calls(Type = typeof(UIText), Member = ".ctor", MemberParameters = new object[]
24 {
26 typeof(float),
27 typeof(bool)
28 }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "Append", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(LocalizedText))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UICharacterNameButton), Member = "SetContents", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x6005065")]
39 [global::Cpp2ILInjected.Address(RVA = "0x90E388", Offset = "0x90E388", Length = "0x224")]
40 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
43 {
44 typeof(int),
45 typeof(int),
46 typeof(int),
47 typeof(int),
48 typeof(float),
49 typeof(float)
50 }, ReturnType = typeof(SoundEffectInstance))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
52 {
54 typeof(float)
55 }, ReturnType = typeof(Color))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "DrawSplicedPanel", MemberParameters = new object[]
57 {
60 typeof(int),
61 typeof(int),
62 typeof(int),
63 typeof(int),
64 typeof(int),
65 typeof(int),
66 typeof(int),
67 typeof(int),
69 }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
71 protected override void DrawSelf(SpriteBatch spriteBatch)
72 {
73 throw null;
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x6005066")]
77 [global::Cpp2ILInjected.Address(RVA = "0x90E284", Offset = "0x90E284", Length = "0x104")]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UICharacterNameButton), Member = ".ctor", MemberParameters = new object[]
79 {
83 }, ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIText), Member = "SetText", MemberParameters = new object[] { typeof(LocalizedText) }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIText), Member = "SetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StyleDimension), Member = "FromPixels", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(StyleDimension))]
89 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
90 public void SetContents(string name)
91 {
92 throw null;
93 }
94
95 [global::Cpp2ILInjected.Token(Token = "0x6005067")]
96 [global::Cpp2ILInjected.Address(RVA = "0x90E5AC", Offset = "0x90E5AC", Length = "0x338")]
97 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
98 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
100 {
101 typeof(int),
102 typeof(int)
103 }, ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
105 {
106 typeof(int),
107 typeof(int),
108 typeof(int),
109 typeof(int)
110 }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "get_Right", ReturnType = typeof(int))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIText), Member = "get_Text", ReturnType = typeof(string))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
114 {
115 typeof(int),
116 typeof(int)
117 }, ReturnType = typeof(string))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIText), Member = "SetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
120 {
121 typeof(string),
122 typeof(string)
123 }, ReturnType = typeof(string))]
124 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
125 public void TrimDisplayIfOverElementDimensions(int padding)
126 {
127 throw null;
128 }
129
130 [global::Cpp2ILInjected.Token(Token = "0x6005068")]
131 [global::Cpp2ILInjected.Address(RVA = "0x90E8E4", Offset = "0x90E8E4", Length = "0x8")]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "LeftMouseDown", MemberParameters = new object[] { typeof(UIMouseEvent) }, ReturnType = typeof(void))]
134 public override void LeftMouseDown(UIMouseEvent evt)
135 {
136 throw null;
137 }
138
139 [global::Cpp2ILInjected.Token(Token = "0x6005069")]
140 [global::Cpp2ILInjected.Address(RVA = "0x90E8EC", Offset = "0x90E8EC", Length = "0x20")]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "MouseOver", MemberParameters = new object[] { typeof(UIMouseEvent) }, ReturnType = typeof(void))]
143 public override void MouseOver(UIMouseEvent evt)
144 {
145 throw null;
146 }
147
148 [global::Cpp2ILInjected.Token(Token = "0x600506A")]
149 [global::Cpp2ILInjected.Address(RVA = "0x90E90C", Offset = "0x90E90C", Length = "0x1C")]
150 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "MouseOut", MemberParameters = new object[] { typeof(UIMouseEvent) }, ReturnType = typeof(void))]
152 public override void MouseOut(UIMouseEvent evt)
153 {
154 throw null;
155 }
156
157 [global::Cpp2ILInjected.Token(Token = "0x4008922")]
158 [global::Cpp2ILInjected.FieldOffset(Offset = "0x148")]
160
161 [global::Cpp2ILInjected.Token(Token = "0x4008923")]
162 [global::Cpp2ILInjected.FieldOffset(Offset = "0x150")]
164
165 [global::Cpp2ILInjected.Token(Token = "0x4008924")]
166 [global::Cpp2ILInjected.FieldOffset(Offset = "0x158")]
168
169 [global::Cpp2ILInjected.Token(Token = "0x4008925")]
170 [global::Cpp2ILInjected.FieldOffset(Offset = "0x160")]
171 private bool _hovered;
172
173 [global::Cpp2ILInjected.Token(Token = "0x4008926")]
174 [global::Cpp2ILInjected.FieldOffset(Offset = "0x161")]
175 private bool _soundedHover;
176
177 [global::Cpp2ILInjected.Token(Token = "0x4008927")]
178 [global::Cpp2ILInjected.FieldOffset(Offset = "0x168")]
180
181 [global::Cpp2ILInjected.Token(Token = "0x4008928")]
182 [global::Cpp2ILInjected.FieldOffset(Offset = "0x170")]
183 private string actualContents;
184
185 [global::Cpp2ILInjected.Token(Token = "0x4008929")]
186 [global::Cpp2ILInjected.FieldOffset(Offset = "0x178")]
187 private UIText _text;
188
189 [global::Cpp2ILInjected.Token(Token = "0x400892A")]
190 [global::Cpp2ILInjected.FieldOffset(Offset = "0x180")]
191 private UIText _title;
192
193 [global::Cpp2ILInjected.Token(Token = "0x400892B")]
194 [global::Cpp2ILInjected.FieldOffset(Offset = "0x188")]
196
197 [global::Cpp2ILInjected.Token(Token = "0x400892C")]
198 [global::Cpp2ILInjected.FieldOffset(Offset = "0x190")]
200 }
201}
class f__AnonymousType0<< Count > j__TPar
UICharacterNameButton(LocalizedText titleText, LocalizedText emptyContentText, LocalizedText description=null)