tModLoader v2023.10
A mod to make and play Terraria mods
CreativePowers.FreezeRainPower 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.FreezeRainPower.GetIsUnlocked ( )
virtual

◆ Load()

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

◆ Save()

void CreativePowers.FreezeRainPower.Save ( BinaryWriter  writer)

◆ ValidateWorld()

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