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

◆ CreateWeatherPowerStrip()

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

Definition at line 350 of file UICreativePowersMenu.cs.

351 {
355 creativePowerUIElementRequestInfo.PreferredButtonWidth = 40;
356 creativePowerUIElementRequestInfo.PreferredButtonHeight = 40;
359 groupOptionButton.OnLeftClick += WeatherCategoryButtonClick;
363 groupOptionButton2.OnLeftClick += WeatherCategoryButtonClick;
366 return list;
367 }
void Add(TKey key, TValue value)
void WeatherCategoryButtonClick(UIMouseEvent evt, UIElement listeningElement)

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

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