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.SpawnRateSliderPerPlayerPower Class Reference
+ Inheritance diagram for Terraria.GameContent.Creative.CreativePowers.SpawnRateSliderPerPlayerPower:
+ Collaboration diagram for Terraria.GameContent.Creative.CreativePowers.SpawnRateSliderPerPlayerPower:

Public Member Functions

 SpawnRateSliderPerPlayerPower ()
 
bool GetShouldDisableSpawnsFor (int playerIndex)
 
override float RemapSliderValueToPowerValue (float sliderValue)
 
override UIElement ProvideSlider ()
 
override bool GetIsUnlocked ()
 
void Save (Player player, BinaryWriter writer)
 
void ResetDataForNewPlayer (Player player)
 
void Load (Player player, BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void ApplyLoadedDataToOutOfPlayerFields (Player player)
 
bool GetRemappedSliderValueFor (int playerIndex, out float value)
 
void DeserializeNetMessage (BinaryReader reader, int userId)
 
void ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements)
 
void DebugCall ()
 
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)
 
void Reset ()
 

Package Functions

override 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

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

Private Member Functions

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

Private Attributes

float< StrengthMultiplierToGiveNPCsk__BackingField
 
float _currentTargetValue
 
bool _needsToCommitChange
 
DateTime _nextTimeWeCanPush
 

Detailed Description

Definition at line 3784 of file CreativePowers.cs.


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