terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ TrimDisplayIfOverElementDimensions()

void Terraria.GameContent.UI.Elements.UISearchBar.TrimDisplayIfOverElementDimensions ( int padding)
inline

Definition at line 170 of file UISearchBar.cs.

171 {
172 float width = this._dimensions.Width;
173 float x = this._dimensions.X;
174 float y = this._dimensions.Y;
175 float height = this._dimensions.Height;
176 UITextBox text = this._text;
177 float x2 = text._dimensions.X;
178 float y2 = text._dimensions.Y;
179 UITextBox text2 = this._text;
180 float pixels = text2.MinWidth.Pixels;
181 float pixels2 = text2.MinHeight.Pixels;
182 int stringLength = this._text.Text._stringLength;
183 string text3 = this._text.Text;
184 int stringLength2 = this._text.Text._stringLength;
185 UITextBox text4 = this._text;
186 float x3 = text4._dimensions.X;
187 float y3 = text4._dimensions.Y;
188 UITextBox text5 = this._text;
189 float pixels3 = text5.MinWidth.Pixels;
190 float pixels4 = text5.MinHeight.Pixels;
191 string text6 = this._text.Text;
193 }
class f__AnonymousType0<< Count > j__TPar
CalculatedStyle _dimensions

References Terraria.UI.UIElement._dimensions, Terraria.GameContent.UI.Elements.UISearchBar._text, Terraria.UI.CalculatedStyle.Height, j__TPar, System.text, Terraria.GameContent.UI.Elements.UITextPanel< T >.Text, Terraria.UI.CalculatedStyle.Width, Terraria.UI.CalculatedStyle.X, and Terraria.UI.CalculatedStyle.Y.