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

◆ GetSelectedItemRegion()

override Rectangle GUIControllerInventory.GetSelectedItemRegion ( )
inlinevirtual

Reimplemented from GUIPageContentController.

Reimplemented in GUIControllerInventory4Page.

Definition at line 107 of file GUIControllerInventory.cs.

108 {
113 Vector2 firstItemLocation = toggleOptionsGrid.FirstItemLocation;
114 float x = toggleOptionsGrid.FirstItemLocation.X;
115 float y = toggleOptionsGrid.FirstItemLocation.Y;
117 float x2 = toggleOptionsGrid.ExtraElementSpacing.X;
118 float y2 = toggleOptionsGrid.ExtraElementSpacing.Y;
119 int itemLineCount = toggleOptionsGrid.ItemLineCount;
121 return rectangle;
122 }
class f__AnonymousType0<< Count > j__TPar
static BuilderAccToggles_Layout Instance
ControlAnchor.ControlId FirstAnchorControl

References Controller.ControllerActionManager.AnyControllerConnected, ItemGrid_Layout.FirstAnchorControl, BuilderAccToggles_Layout.Instance, PageControllerLayoutDefinition< T >.Instance, j__TPar, BuilderAccToggles_Layout.ToggleOptionsGrid, BuilderAccToggles_Layout.ToggleScale, and Microsoft.Xna.Framework.Vector2.X.