This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,75 @@
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using UnityEngine.Bindings;
using UnityEngine.Profiling.Experimental;
using UnityEngine.Scripting;
namespace UnityEngine.Profiling.Memory.Experimental
{
// Token: 0x02000154 RID: 340
[Token(Token = "0x2000154")]
[NativeHeader("Modules/Profiler/Runtime/MemorySnapshotManager.h")]
public sealed class MemoryProfiler
{
// Token: 0x06000CF3 RID: 3315 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000CF3")]
[Address(RVA = "0x2EE7E80", Offset = "0x2EE6E80", VA = "0x182EE7E80")]
[RequiredByNativeCode]
private static byte[] PrepareMetadata()
{
return null;
}
// Token: 0x06000CF4 RID: 3316 RVA: 0x00009060 File Offset: 0x00007260
[Token(Token = "0x6000CF4")]
[Address(RVA = "0x2EE8180", Offset = "0x2EE7180", VA = "0x182EE8180")]
internal static int WriteIntToByteArray(byte[] array, int offset, int value)
{
return 0;
}
// Token: 0x06000CF5 RID: 3317 RVA: 0x00009078 File Offset: 0x00007278
[Token(Token = "0x6000CF5")]
[Address(RVA = "0x2EE8230", Offset = "0x2EE7230", VA = "0x182EE8230")]
internal static int WriteStringToByteArray(byte[] array, int offset, string value)
{
return 0;
}
// Token: 0x06000CF6 RID: 3318 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CF6")]
[Address(RVA = "0x2EE7E10", Offset = "0x2EE6E10", VA = "0x182EE7E10")]
[RequiredByNativeCode]
private static void FinalizeSnapshot(string path, bool result)
{
}
// Token: 0x06000CF7 RID: 3319 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CF7")]
[Address(RVA = "0x2EE8050", Offset = "0x2EE7050", VA = "0x182EE8050")]
[RequiredByNativeCode]
private static void SaveScreenshotToDisk(string path, bool result, IntPtr pixelsPtr, int pixelsCount, TextureFormat format, int width, int height)
{
}
// Token: 0x040004FE RID: 1278
[Token(Token = "0x40004FE")]
[CompilerGenerated]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static Action<string, bool> m_SnapshotFinished;
// Token: 0x040004FF RID: 1279
[Token(Token = "0x40004FF")]
[CompilerGenerated]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static Action<string, bool, DebugScreenCapture> m_SaveScreenshotToDisk;
// Token: 0x04000500 RID: 1280
[Token(Token = "0x4000500")]
[CompilerGenerated]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static Action<MetaData> createMetaData;
}
}
@@ -0,0 +1,29 @@
using System;
using Cpp2IlInjected;
namespace UnityEngine.Profiling.Memory.Experimental
{
// Token: 0x02000153 RID: 339
[Token(Token = "0x2000153")]
public class MetaData
{
// Token: 0x06000CF2 RID: 3314 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CF2")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
public MetaData()
{
}
// Token: 0x040004FC RID: 1276
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004FC")]
[NonSerialized]
public string content;
// Token: 0x040004FD RID: 1277
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40004FD")]
[NonSerialized]
public string platform;
}
}