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

◆ GetGridParameters()

void Terraria.GameContent.UI.Elements.UIDynamicItemCollection.GetGridParameters ( [Out] int startX,
[Out] int startY,
[Out] int startItemIndex,
[Out] int endItemIndex )
inlineprivate

Definition at line 89 of file UIDynamicItemCollection.cs.

90 {
91 float x = this._dimensions.X;
92 UIElement <Parent>k__BackingField = this.<Parent>k__BackingField;
93 int itemsPerLine = this._itemsPerLine;
96 int size = this._itemIdsAvailableToShow._size;
98 if (size == 0)
99 {
100 }
101 int num = Math.Min(0, startX);
102 int itemsPerLine2 = this._itemsPerLine;
104 int itemsPerLine3 = this._itemsPerLine;
106 }
class f__AnonymousType0<< Count > j__TPar
static byte Min(byte val1, byte val2)
Definition Math.cs:152
UIElement< Parent > k__BackingField
CalculatedStyle _dimensions

References Terraria.UI.UIElement._dimensions, Terraria.GameContent.UI.Elements.UIDynamicItemCollection._itemIdsAvailableToShow, Terraria.GameContent.UI.Elements.UIDynamicItemCollection._itemsPerLine, System.Collections.Generic.List< T >._size, j__TPar, Terraria.UI.UIElement.k__BackingField, System.Math.Min(), Terraria.UI.UIElement.Parent, and Terraria.UI.CalculatedStyle.X.