terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.GameContent.Creative.CreativePowerManager Class Reference
+ Collaboration diagram for Terraria.GameContent.Creative.CreativePowerManager:

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, set]
 
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 18 of file CreativePowerManager.cs.


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