tModLoader v2024.08
A mod to make and play Terraria mods
CreativePowers.ASharedButtonPower Class Referenceabstract

Inherits ICreativePower.

Inherited by CreativePowers.StartDayImmediately, CreativePowers.StartMidnightImmediately, CreativePowers.StartNightImmediately, and CreativePowers.StartNoonImmediately.

Public Member Functions

void DeserializeNetMessage (BinaryReader reader, int userId)
 
abstract bool GetIsUnlocked ()
 
void ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements)
 
void RequestUse ()
 
void DeserializeNetMessage (BinaryReader reader, int userId)
 
bool GetIsUnlocked ()
 
void ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements)
 

Properties

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

◆ DeserializeNetMessage()

void CreativePowers.ASharedButtonPower.DeserializeNetMessage ( BinaryReader  reader,
int  userId 
)

Implements ICreativePower.

◆ GetIsUnlocked()

abstract bool CreativePowers.ASharedButtonPower.GetIsUnlocked ( )
pure virtual

Implements ICreativePower.

◆ ProvidePowerButtons()

void CreativePowers.ASharedButtonPower.ProvidePowerButtons ( CreativePowerUIElementRequestInfo  info,
List< UIElement elements 
)

Implements ICreativePower.

Property Documentation

◆ CurrentPermissionLevel

PowerPermissionLevel CreativePowers.ASharedButtonPower.CurrentPermissionLevel
getset

Implements ICreativePower.

◆ DefaultPermissionLevel

PowerPermissionLevel CreativePowers.ASharedButtonPower.DefaultPermissionLevel
getset

Implements ICreativePower.

◆ PowerId

ushort CreativePowers.ASharedButtonPower.PowerId
getset

Implements ICreativePower.

◆ ServerConfigName

string CreativePowers.ASharedButtonPower.ServerConfigName
getset

Implements ICreativePower.