Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.Creative.CreativePowers.ModifyTimeRate Class Reference

Public Member Functions

 ModifyTimeRate ()
 
override void Reset ()
 
override UIElement ProvideSlider ()
 
override bool GetIsUnlocked ()
 
void Save (BinaryWriter writer)
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void DeserializeNetMessage (BinaryReader reader, int userId)
 
void ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements)
 
void DebugCall ()
 
GroupOptionButton< int > GetOptionButton (CreativePowerUIElementRequestInfo info, int optionIndex, int currentOptionIndex)
 
void OnPlayerJoining (int playerIndex)
 

Package Functions

override 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

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

Private Member Functions

void bottomText_OnClick (UIMouseEvent evt, UIElement listeningElement)
 
void middleText_OnClick (UIMouseEvent evt, UIElement listeningElement)
 
void topText_OnClick (UIMouseEvent evt, UIElement listeningElement)
 
void Button_OnMouseOut (UIMouseEvent evt, UIElement listeningElement)
 
void Button_OnMouseOver (UIMouseEvent evt, UIElement listeningElement)
 
void UpdateSliderAndShowMultiplierMouseOver (UIElement affectedElement)
 
void categoryButton_OnUpdate (UIElement affectedElement)
 
void AttemptPushingChange ()
 

Private Attributes

bool _needsToCommitChange
 
DateTime _nextTimeWeCanPush = DateTime.UtcNow
 

Detailed Description

Definition at line 866 of file CreativePowers.cs.


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