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

◆ Recalculate()

override void Terraria.GameContent.UI.States.UIEmotesMenu.Recalculate ( )
inlinevirtual

Reimplemented from Terraria.UI.UIElement.

Definition at line 158 of file UIEmotesMenu.cs.

159 {
161 if (scrollBar != null)
162 {
163 if (this._isScrollbarAttached)
164 {
165 bool canScroll = scrollBar.CanScroll;
166 if (this._isScrollbarAttached)
167 {
168 goto IL_0079;
169 }
170 }
171 bool canScroll2 = this._scrollBar.CanScroll;
172 UIElement container = this._container;
174 container.Append(scrollBar2);
175 UIList list = this._list;
176 int num = 1;
177 this._isScrollbarAttached = num != 0;
178 return;
179 }
180 IL_0079:
181 base.Recalculate();
182 }
class f__AnonymousType0<< Count > j__TPar
void Append(UIElement element)
Definition UIElement.cs:412

References Terraria.GameContent.UI.States.UIEmotesMenu._container, Terraria.GameContent.UI.States.UIEmotesMenu._isScrollbarAttached, Terraria.GameContent.UI.States.UIEmotesMenu._list, Terraria.GameContent.UI.States.UIEmotesMenu._scrollBar, Terraria.UI.UIElement.Append(), Terraria.GameContent.UI.Elements.UIScrollbar.CanScroll, j__TPar, and System.list.