tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.Creative.CreativePowers.ASharedTogglePower Class Referenceabstract

Inherits Terraria.GameContent.Creative.ICreativePower, and Terraria.GameContent.IOnPlayerJoining.

Inherited by Terraria.GameContent.Creative.CreativePowers.FreezeRainPower, Terraria.GameContent.Creative.CreativePowers.FreezeTime, Terraria.GameContent.Creative.CreativePowers.FreezeWindDirectionAndStrength, and Terraria.GameContent.Creative.CreativePowers.StopBiomeSpreadPower.

Public Member Functions

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)
 

Properties

PowerPermissionLevel CurrentPermissionLevel [get, set]
 
PowerPermissionLevel DefaultPermissionLevel [get, set]
 
bool Enabled [get]
 
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]