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

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

Inherited by Terraria.GameContent.Creative.CreativePowers.FarPlacementRangePower, and Terraria.GameContent.Creative.CreativePowers.GodmodePower.

Public Member Functions

void DebugCall ()
 
void DeserializeNetMessage (BinaryReader reader, int userId)
 
abstract bool GetIsUnlocked ()
 
bool IsEnabledForPlayer (int playerIndex)
 
void OnPlayerJoining (int playerIndex)
 
void ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements)
 
void Reset ()
 
void SetEnabledState (int playerIndex, bool state)
 

Properties

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