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

◆ CreatePersonalPowerStrip()

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

Definition at line 334 of file UICreativePowersMenu.cs.

335 {
339 creativePowerUIElementRequestInfo.PreferredButtonWidth = 40;
340 creativePowerUIElementRequestInfo.PreferredButtonHeight = 40;
342 CreativePowerManager.Instance.GetPower<CreativePowers.GodmodePower>().ProvidePowerButtons(request, list);
345 groupOptionButton.OnLeftClick += PersonalCategoryButtonClick;
347 return list;
348 }
void Add(TKey key, TValue value)
void PersonalCategoryButtonClick(UIMouseEvent evt, UIElement listeningElement)

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

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