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

◆ ResetSettings()

void Terraria.Main.ResetSettings ( )
inline

Definition at line 6027 of file Main.cs.

6028 {
6029 if (!true)
6030 {
6031 }
6032 string text2;
6033 string text = Main.SavePath + text2 + "config.json";
6034 long num = 0L;
6035 bool flag = FileUtilities.Exists(text, num != 0L);
6036 string text4;
6037 string text3 = Main.SavePath + text4 + "config.json";
6038 long num2 = 0L;
6041 bool flag2 = Main.SaveSettings();
6042 }
class f__AnonymousType0<< Count > j__TPar
static void Delete(string path, bool cloud=false)
static bool Exists(string path, bool cloud=false)
static void UnloadAssets()

References Terraria.Utilities.FileUtilities.Delete(), Terraria.Utilities.FileUtilities.Exists(), j__TPar, Microsoft.Xna.Framework.Input.L, Terraria.Main.SaveSettings(), System.text, and TextureAtlasDB.UnloadAssets().