tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower 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.DifficultySliderPower, Terraria.GameContent.Creative.CreativePowers.ModifyRainPower, Terraria.GameContent.Creative.CreativePowers.ModifyTimeRate, and Terraria.GameContent.Creative.CreativePowers.ModifyWindDirectionAndStrength.

Public Member Functions

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

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]
 

Member Function Documentation

◆ DeserializeNetMessage()

void Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower.DeserializeNetMessage ( BinaryReader  reader,
int  userId 
)

◆ GetIsUnlocked()

abstract bool Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower.GetIsUnlocked ( )
pure virtual

◆ GetOptionButton()

GroupOptionButton< int > Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower.GetOptionButton ( CreativePowerUIElementRequestInfo  info,
int  optionIndex,
int  currentOptionIndex 
)

◆ OnPlayerJoining()

void Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower.OnPlayerJoining ( int  playerIndex)

◆ ProvidePowerButtons()

void Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower.ProvidePowerButtons ( CreativePowerUIElementRequestInfo  info,
List< UIElement elements 
)

◆ ProvideSlider()

abstract UIElement Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower.ProvideSlider ( )
pure virtual

Property Documentation

◆ CurrentPermissionLevel

PowerPermissionLevel Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower.CurrentPermissionLevel
getset

◆ DefaultPermissionLevel

PowerPermissionLevel Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower.DefaultPermissionLevel
getset

◆ PowerId

ushort Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower.PowerId
getset

◆ ServerConfigName

string Terraria.GameContent.Creative.CreativePowers.ASharedSliderPower.ServerConfigName
getset