using System; using System.IO; using System.Runtime.InteropServices; using Cpp2IlInjected; using UnityEngine; namespace RecRoom.Platforms.Standalone { // Token: 0x020021F6 RID: 8694 [Token(Token = "0x20021F6")] [StructLayout(3)] public static class DeleteLegacyLogs { // Token: 0x0600EFA6 RID: 61350 RVA: 0x0038CDC4 File Offset: 0x0038AFC4 [Token(Token = "0x600EFA6")] [Address(RVA = "0x14086D0", Offset = "0x14070D0", VA = "0x1814086D0")] [RuntimeInitializeOnLoadMethod] private static void DeleteLegacyStandaloneLogs() { string text = Path.Combine(Application.persistentDataPath, "output_log.txt"); if (File.Exists(text)) { Debug.LogWarning("Deleting legacy log file from path: " + text); File.Delete(text); } } } }