tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.Creative.CreativePowers.APerPlayerSliderPower Class Referenceabstract

Inherits Terraria.GameContent.Creative.ICreativePower, Terraria.GameContent.IOnPlayerJoining, Terraria.GameContent.Creative.IProvideSliderElement, and Terraria.GameContent.Creative.IPowerSubcategoryElement.

Inherited by Terraria.GameContent.Creative.CreativePowers.SpawnRateSliderPerPlayerPower.

Public Member Functions

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

Properties

PowerPermissionLevel CurrentPermissionLevel [get, set]
 
PowerPermissionLevel DefaultPermissionLevel [get, set]
 
ushort PowerId [get, set]
 
string ServerConfigName [get, set]
 
- Properties inherited from Terraria.GameContent.Creative.ICreativePower
PowerPermissionLevel CurrentPermissionLevel [get, set]
 
PowerPermissionLevel DefaultPermissionLevel [get, set]
 
ushort PowerId [get, set]
 
string ServerConfigName [get, set]