Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CreateTimePowerStrip()

List< UIElement > Terraria.GameContent.UI.States.UICreativePowersMenu.CreateTimePowerStrip ( )
inlineprivate

Definition at line 315 of file UICreativePowersMenu.cs.

316 {
320 creativePowerUIElementRequestInfo.PreferredButtonWidth = 40;
321 creativePowerUIElementRequestInfo.PreferredButtonHeight = 40;
323 CreativePowerManager.Instance.GetPower<CreativePowers.FreezeTime>().ProvidePowerButtons(request, list);
329 groupOptionButton.OnLeftClick += TimeCategoryButtonClick;
331 return list;
332 }
void Add(TKey key, TValue value)
void TimeCategoryButtonClick(UIMouseEvent evt, UIElement listeningElement)

References Terraria.GameContent.UI.States.UICreativePowersMenu._timeCategory, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), Terraria.GameContent.Creative.CreativePowerManager.Instance, System.list, and Terraria.GameContent.UI.States.UICreativePowersMenu.TimeCategoryButtonClick().

Referenced by Terraria.GameContent.UI.States.UICreativePowersMenu.InitializePage().