terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.GameContent.Creative.CreativePowers.APerPlayerSliderPower Class Referenceabstract
+ Inheritance diagram for Terraria.GameContent.Creative.CreativePowers.APerPlayerSliderPower:
+ Collaboration diagram for Terraria.GameContent.Creative.CreativePowers.APerPlayerSliderPower:

Public Member Functions

bool GetRemappedSliderValueFor (int playerIndex, out float value)
 
float RemapSliderValueToPowerValue (float sliderValue)
 
void DeserializeNetMessage (BinaryReader reader, int userId)
 
void ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements)
 
void DebugCall ()
 
UIElement ProvideSlider ()
 
void PushChangeAndSetSlider (float value)
 
GroupOptionButton< int > GetOptionButton (CreativePowerUIElementRequestInfo info, int optionIndex, int currentOptionIndex)
 
void AttemptPushingChange ()
 
virtual void Reset ()
 
virtual void ResetForPlayer (int playerIndex)
 
void OnPlayerJoining (int playerIndex)
 
bool GetIsUnlocked ()
 

Protected Member Functions

 APerPlayerSliderPower ()
 

Package Functions

void UpdateInfoFromSliderValueCache ()
 
float GetSliderValue ()
 
void SetValueKeyboard (float value)
 
void SetValueGamepad ()
 
void PushChange (float newSliderValue)
 

Package Attributes

Point _iconLocation
 
float _sliderCurrentValueCache
 
string _powerNameKey
 
float[] _cachePerPlayer
 
float _sliderDefaultValue
 

Properties

ushort PowerId [get, set]
 
string ServerConfigName [get, set]
 
PowerPermissionLevel CurrentPermissionLevel [get, set]
 
PowerPermissionLevel DefaultPermissionLevel [get, set]
 

Private Member Functions

void categoryButton_OnUpdate (UIElement affectedElement)
 

Private Attributes

ushort< PowerIdk__BackingField
 
string< ServerConfigNamek__BackingField
 
PowerPermissionLevel< CurrentPermissionLevelk__BackingField
 
PowerPermissionLevel< DefaultPermissionLevelk__BackingField
 
float _currentTargetValue
 
bool _needsToCommitChange
 
DateTime _nextTimeWeCanPush
 

Detailed Description

Definition at line 461 of file CreativePowers.cs.


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