tModLoader v2024.05
A mod to make and play Terraria mods
CreativePowers.ModifyTimeRate 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

int TargetTimeRate [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.ModifyTimeRate.GetIsUnlocked ( )
virtual

◆ Load()

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

◆ ProvideSlider()

override UIElement CreativePowers.ModifyTimeRate.ProvideSlider ( )
virtual

◆ Reset()

override void CreativePowers.ModifyTimeRate.Reset ( )
virtual

Reimplemented from CreativePowers.ASharedSliderPower.

◆ Save()

void CreativePowers.ModifyTimeRate.Save ( BinaryWriter  writer)

◆ ValidateWorld()

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