Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower Class Referenceabstract

Public Member Functions

void DeserializeNetMessage (BinaryReader reader, int userId)
 
void ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements)
 
void DebugCall ()
 
UIElement ProvideSlider ()
 
GroupOptionButton< int > GetOptionButton (CreativePowerUIElementRequestInfo info, int optionIndex, int currentOptionIndex)
 
virtual void Reset ()
 
void OnPlayerJoining (int playerIndex)
 
bool GetIsUnlocked ()
 

Package Functions

void UpdateInfoFromSliderValueCache ()
 
float GetSliderValue ()
 
virtual float GetSliderValueInner ()
 
void SetValueKeyboard (float value)
 
void SetValueKeyboardForced (float value)
 
void SetValueGamepad ()
 

Package Attributes

Point _iconLocation
 
float _sliderCurrentValueCache
 
string _powerNameKey
 
bool _syncToJoiningPlayers = true
 
float _currentTargetValue
 

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)
 
void AttemptPushingChange ()
 

Private Attributes

bool _needsToCommitChange
 
DateTime _nextTimeWeCanPush = DateTime.UtcNow
 

Detailed Description

Definition at line 544 of file CreativePowers.cs.


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