terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Terraria.GameContent.Creative.CreativePowerManager Class Reference

Classes

class  PowerTypeStorage
 

Public Member Functions

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

Static Public Member Functions

static void TryListingPermissionsFrom (string line)
 
static void Initialize ()
 
static void SyncSplitScreenPlayer (int playerIndex)
 

Properties

static CreativePowerManager Instance [get]
 
static bool _initialized [get, set]
 

Private Member Functions

void SyncSplitScreenPlayerInternal (int playerIndex)
 

Private Attributes

Dictionary< ushort, ICreativePower_powersById
 
Dictionary< string, ICreativePower_powersByName
 
ushort _powersCount
 

Static Private Attributes

const string _powerPermissionsLineHeader = "journeypermission_"
 

Detailed Description

Definition at line 10 of file CreativePowerManager.cs.


The documentation for this class was generated from the following file: