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

Inherits CreativePowers.ASharedTogglePower, and IPersistentPerWorldContent.

Public Member Functions

override bool GetIsUnlocked ()
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void Save (BinaryWriter writer)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
- Public Member Functions inherited from CreativePowers.ASharedTogglePower
void DeserializeNetMessage (BinaryReader reader, int userId)
 
abstract bool GetIsUnlocked ()
 
void OnPlayerJoining (int playerIndex)
 
void ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements)
 
void Reset ()
 
void SetPowerInfo (bool enabled)
 
void DeserializeNetMessage (BinaryReader reader, int userId)
 
bool GetIsUnlocked ()
 
void ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements)
 
void OnPlayerJoining (int playerIndex)
 
- Public Member Functions inherited from IPersistentPerWorldContent
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void Reset ()
 
void Save (BinaryWriter writer)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 

Additional Inherited Members

- Properties inherited from CreativePowers.ASharedTogglePower
PowerPermissionLevel CurrentPermissionLevel [get, set]
 
PowerPermissionLevel DefaultPermissionLevel [get, set]
 
bool Enabled [get]
 
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.FreezeTime.GetIsUnlocked ( )
virtual

◆ Load()

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

◆ Save()

void CreativePowers.FreezeTime.Save ( BinaryWriter  writer)

◆ ValidateWorld()

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