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()

Rectangle GUIControllerMappingOverlay.GetSelectedItemRegion ( )
inline

Implements GUIControllerItem.

Definition at line 82 of file GUIControllerMappingOverlay.cs.

83 {
84 if (this._overlayEntry != null)
85 {
86 }
88 Rectangle overlayRegion = this._overlayRegion;
89 int width = this._overlayRegion.Width;
90 ControlAnchor.SetGridItemRegion(overlayRegion);
91 int overlayIndex = this._overlayIndex;
94 float x2 = transactionButton_Layout.Location.X;
95 float y = transactionButton_Layout.Location.Y;
97 float overlayOffset = this._overlayOffset;
100 float x3 = transactionButton_Layout.overloadedSize.X;
101 float x4 = transactionButton_Layout.Location.X;
102 return region;
103 }
class f__AnonymousType0<< Count > j__TPar
static void SetGridItemRegion(Rectangle region)
GUIControllerMappingOverlay.Controls selectedControl
GUIControllerMappingEntryBase _overlayEntry
static Rectangle GetRegion(TransactionButton_Layout layout)

References _overlayEntry, _overlayIndex, _overlayOffset, _overlayRegion, GUITransactionButton.GetRegion(), j__TPar, TransactionButton_Layout.overloadedSize, selectedControl, ControlAnchor.SetGridItemRegion(), Microsoft.Xna.Framework.Rectangle.Width, Microsoft.Xna.Framework.Rectangle.X, and Microsoft.Xna.Framework.Vector2.X.