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
Terraria.GameContent.Creative.CreativePowersHelper Class Reference

Classes

class  CreativePowerIconLocations
 

Public Member Functions

 CreativePowersHelper ()
 

Static Public Member Functions

static UIImageFramed GetIconImage (Point iconLocation)
 
static GroupOptionButton< bool > CreateToggleButton (CreativePowerUIElementRequestInfo info)
 
static GroupOptionButton< bool > CreateSimpleButton (CreativePowerUIElementRequestInfo info)
 
static GroupOptionButton< T > CreateCategoryButton< T > (CreativePowerUIElementRequestInfo info, T option, T currentOption)
 
static void AddPermissionTextIfNeeded (ICreativePower power, string originalText)
 
static void AddDescriptionIfNeeded (string originalText, string descriptionKey)
 
static void AddUnlockTextIfNeeded (string originalText, bool needed, string descriptionKey)
 
static UIVerticalSlider CreateSlider (Func< float > GetSliderValueMethod, Action< float > SetValueKeyboardMethod, Action SetValueGamepadMethod)
 
static void UpdateUseMouseInterface (UIElement affectedElement)
 
static void UpdateUnlockStateByPower (ICreativePower power, UIElement button, Color colorWhenSelected)
 
static bool IsAvailableForPlayer (ICreativePower power, int playerIndex)
 

Static Public Attributes

const int TextureIconColumns = 21
 
const int TextureIconRows = 1
 
static Color CommonSelectedColor
 

Static Private Member Functions

static Asset< Texture2DGetPowerIconAsset (string path)
 
static void UpdateUnlockStateByPowerInternal (ICreativePower power, Color colorWhenSelected, IGroupOptionButton asButton)
 
static CreativePowersHelper ()
 

Detailed Description

Definition at line 13 of file CreativePowersHelper.cs.


The documentation for this class was generated from the following file: