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.IO.Preferences Class Reference
+ Collaboration diagram for Terraria.IO.Preferences:

Public Member Functions

 Preferences (string path, bool parseAllTypes=false, bool useBson=false)
 
bool Load ()
 
bool Save (bool canCreateFile=true)
 
void Clear ()
 
void Put (string name, object value)
 
bool Contains (string name)
 
Get< T > (string name, T defaultValue)
 
void Get< T > (string name, ref T currentValue)
 
List< string > GetAllKeys ()
 
void Clear (string name)
 
delegate void TextProcessAction (ref string text)
 

Public Attributes

readonly bool UseBson
 
bool AutoSave
 

Properties

Action< PreferencesOnSave [set]
 
Action< PreferencesOnLoad [set]
 
Preferences.TextProcessAction OnProcessText [set]
 

Private Attributes

Dictionary< string, object > _data
 
readonly string _path
 
readonly JsonSerializerSettings _serializerSettings
 
readonly object _lock
 

Detailed Description

Definition at line 24 of file Preferences.cs.


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