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 GUIControllerJourneyModeSettings.GetSelectedItemRegion ( )
inline

Implements GUIControllerItem.

Definition at line 108 of file GUIControllerJourneyModeSettings.cs.

109 {
111 if (this._overlayEntry != null)
112 {
113 Rectangle overlayRegion = this._overlayRegion;
114 int width = this._overlayRegion.Width;
115 ControlAnchor.SetGridItemRegion(overlayRegion);
116 int overlayIndex = this._overlayIndex;
119 float x2 = transactionButton_Layout.Location.X;
120 float y = transactionButton_Layout.Location.Y;
125 return region;
126 }
128 return region;
129 }
class f__AnonymousType0<< Count > j__TPar
static void SetGridItemRegion(Rectangle region)
GUIControllerJourneyModeSettings.Controls selectedControl
static Rectangle GetRegion(TransactionButton_Layout layout)

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