Files
Aug2021-Cpp2IL-Dump/Assembly-CSharp/RecRoom/Platforms/Standalone/DeleteLegacyLogs.cs
T
2026-04-10 22:50:51 +02:00

27 lines
703 B
C#

using System;
using System.IO;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Platforms.Standalone
{
// Token: 0x0200240A RID: 9226
[Token(Token = "0x200240A")]
public static class DeleteLegacyLogs
{
// Token: 0x0600EE1B RID: 60955 RVA: 0x0036C698 File Offset: 0x0036A898
[Token(Token = "0x600EE1B")]
[Address(RVA = "0xE27870", Offset = "0xE26670", VA = "0x180E27870")]
[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);
}
}
}
}