tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.Creative.CreativePowerManager Class Reference

Public Member Functions

void ApplyLoadedDataToPlayer (Player player)
 
GetPower< T > ()
 
ushort GetPowerId< T > ()
 
void LoadFromWorld (BinaryReader reader, int versionGameWasLastSavedOn)
 
void LoadToPlayer (Player player, BinaryReader reader, int versionGameWasLastSavedOn)
 
void Register< T > (string nameInServerConfig)
 
void Reset ()
 
void ResetDataForNewPlayer (Player player)
 
void ResetPowersForPlayer (Player player)
 
void SaveToPlayer (Player player, BinaryWriter writer)
 
void SaveToWorld (BinaryWriter writer)
 
void SyncThingsToJoiningPlayer (int playerIndex)
 
bool TryGetPower (ushort id, out ICreativePower power)
 
void ValidateWorld (BinaryReader reader, int versionGameWasLastSavedOn)
 

Static Public Member Functions

static void Initialize ()
 
static void TryListingPermissionsFrom (string line)
 

Static Public Attributes

static readonly CreativePowerManager Instance = new CreativePowerManager()