Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/RecRoom/Platforms/Standalone/DeleteLegacyLogs.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

27 lines
705 B
C#

using System;
using System.IO;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Platforms.Standalone
{
// Token: 0x020024EE RID: 9454
[Token(Token = "0x20024EE")]
public static class DeleteLegacyLogs
{
// Token: 0x0600F234 RID: 62004 RVA: 0x00375C6C File Offset: 0x00373E6C
[Token(Token = "0x600F234")]
[Address(RVA = "0x19D4AC0", Offset = "0x19D3AC0", VA = "0x1819D4AC0")]
[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);
}
}
}
}