tModLoader v2024.10
A mod to make and play Terraria mods
CreativePowers.DifficultySliderPower Class Reference

Inherits CreativePowers.ASharedSliderPower, and IPersistentPerWorldContent.

Public Member Functions

override bool GetIsUnlocked ()
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
override UIElement ProvideSlider ()
 
override void Reset ()
 
void Save (BinaryWriter writer)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
- Public Member Functions inherited from CreativePowers.ASharedSliderPower
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)
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void Reset ()
 
void Save (BinaryWriter writer)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 

Properties

float StrengthMultiplierToGiveNPCs [get]
 
- Properties inherited from CreativePowers.ASharedSliderPower
PowerPermissionLevel CurrentPermissionLevel [get, set]
 
PowerPermissionLevel DefaultPermissionLevel [get, set]
 
ushort PowerId [get, set]
 
string ServerConfigName [get, set]
 
- Properties inherited from ICreativePower
PowerPermissionLevel CurrentPermissionLevel [get, set]
 
PowerPermissionLevel DefaultPermissionLevel [get, set]
 
ushort PowerId [get, set]
 
string ServerConfigName [get, set]
 

Member Function Documentation

◆ GetIsUnlocked()

override bool CreativePowers.DifficultySliderPower.GetIsUnlocked ( )
virtual

◆ Load()

void CreativePowers.DifficultySliderPower.Load ( BinaryReader  reader,
int  gameVersionSaveWasMadeOn 
)

◆ ProvideSlider()

override UIElement CreativePowers.DifficultySliderPower.ProvideSlider ( )
virtual

◆ Reset()

override void CreativePowers.DifficultySliderPower.Reset ( )
virtual

Reimplemented from CreativePowers.ASharedSliderPower.

◆ Save()

void CreativePowers.DifficultySliderPower.Save ( BinaryWriter  writer)

◆ ValidateWorld()

void CreativePowers.DifficultySliderPower.ValidateWorld ( BinaryReader  reader,
int  gameVersionSaveWasMadeOn 
)