Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Preferences()

Terraria.IO.Preferences.Preferences ( string path,
bool parseAllTypes = false,
bool useBson = false )
inline

Definition at line 34 of file Preferences.cs.

35 {
36 //IL_004f: Unknown result type (might be due to invalid IL or missing references)
37 //IL_0054: Unknown result type (might be due to invalid IL or missing references)
38 //IL_0060: Expected O, but got Unknown
39 //IL_002e: Unknown result type (might be due to invalid IL or missing references)
40 //IL_0033: Unknown result type (might be due to invalid IL or missing references)
41 //IL_003a: Unknown result type (might be due to invalid IL or missing references)
42 //IL_0041: Unknown result type (might be due to invalid IL or missing references)
43 //IL_004d: Expected O, but got Unknown
44 _path = path;
46 if (parseAllTypes)
47 {
49 {
52 Formatting = (Formatting)1
53 };
54 }
55 else
56 {
58 {
59 Formatting = (Formatting)1
60 };
61 }
62 }
readonly string _path
readonly JsonSerializerSettings _serializerSettings
readonly bool UseBson

References Terraria.IO.Preferences._path, Terraria.IO.Preferences._serializerSettings, and Terraria.IO.Preferences.UseBson.