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

◆ OpenOrCloseSortingOptions()

void Terraria.GameContent.UI.States.UIBestiaryTest.OpenOrCloseSortingOptions ( UIMouseEvent evt,
UIElement listeningElement )
inlineprivate

Definition at line 313 of file UIBestiaryTest.cs.

314 {
316 if (this._sortingGrid.<Parent>k__BackingField != null)
317 {
320 sortingGrid = this._sortingGrid;
321 bestiarySpace.RemoveChild(sortingGrid);
322 return;
323 }
324 this._bestiarySpace.RemoveChild(sortingGrid);
327 bestiarySpace2.RemoveChild(filteringGrid);
330 bestiarySpace3.Append(sortingGrid2);
331 }
class f__AnonymousType0<< Count > j__TPar
UIBestiaryFilteringOptionsGrid _filteringGrid
void Append(UIElement element)
Definition UIElement.cs:412
UIElement< Parent > k__BackingField
void RemoveChild(UIElement child)
Definition UIElement.cs:429

References Terraria.GameContent.UI.States.UIBestiaryTest._bestiarySpace, Terraria.GameContent.UI.States.UIBestiaryTest._filteringGrid, Terraria.GameContent.UI.States.UIBestiaryTest._sortingGrid, Terraria.UI.UIElement.Append(), j__TPar, Terraria.UI.UIElement.k__BackingField, Terraria.UI.UIElement.Parent, Terraria.UI.UIElement.RemoveChild(), and Terraria.GameContent.UI.States.UIBestiaryTest.UpdateBestiaryContents().