This commit is contained in:
niko
2026-04-11 22:19:20 +02:00
parent 45b857ff11
commit 8fc35183db
17034 changed files with 2863552 additions and 0 deletions
@@ -0,0 +1,32 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace UnityEngineInternal.Input
{
// Token: 0x02000003 RID: 3
[Token(Token = "0x2000003")]
[StructLayout(2, Pack = 1, Size = 20)]
internal struct NativeInputEventBuffer
{
// Token: 0x04000001 RID: 1
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000001")]
public unsafe void* eventBuffer;
// Token: 0x04000002 RID: 2
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
[Token(Token = "0x4000002")]
public int eventCount;
// Token: 0x04000003 RID: 3
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC")]
[Token(Token = "0x4000003")]
public int sizeInBytes;
// Token: 0x04000004 RID: 4
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000004")]
public int capacityInBytes;
}
}
@@ -0,0 +1,74 @@
using System;
using Cpp2IlInjected;
using UnityEngine.Bindings;
using UnityEngine.Scripting;
namespace UnityEngineInternal.Input
{
// Token: 0x02000005 RID: 5
[Token(Token = "0x2000005")]
[NativeHeader("Modules/Input/Private/InputModuleBindings.h")]
[NativeHeader("Modules/Input/Private/InputInternal.h")]
internal class NativeInputSystem
{
// Token: 0x06000006 RID: 6 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000006")]
[Address(RVA = "0x74FFD0", Offset = "0x74EDD0", VA = "0x18074FFD0")]
[RequiredByNativeCode]
internal static void NotifyBeforeUpdate(NativeInputUpdateType updateType)
{
}
// Token: 0x06000007 RID: 7 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000007")]
[Address(RVA = "0x7500D0", Offset = "0x74EED0", VA = "0x1807500D0")]
[RequiredByNativeCode]
internal static void NotifyUpdate(NativeInputUpdateType updateType, IntPtr eventBuffer)
{
}
// Token: 0x06000008 RID: 8 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000008")]
[Address(RVA = "0x750050", Offset = "0x74EE50", VA = "0x180750050")]
[RequiredByNativeCode]
internal static void NotifyDeviceDiscovered(int deviceId, string deviceDescriptor)
{
}
// Token: 0x06000009 RID: 9 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000009")]
[Address(RVA = "0x750170", Offset = "0x74EF70", VA = "0x180750170")]
[RequiredByNativeCode]
internal static void ShouldRunUpdate(NativeInputUpdateType updateType, out bool retval)
{
}
// Token: 0x17000001 RID: 1
// (set) Token: 0x0600000A RID: 10 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000001")]
internal static bool hasDeviceDiscoveredCallback
{
[Token(Token = "0x600000A")]
[Address(RVA = "0x750230", Offset = "0x74F030", VA = "0x180750230")]
set
{
}
}
// Token: 0x0400000B RID: 11
[Token(Token = "0x400000B")]
public static NativeUpdateCallback onUpdate;
// Token: 0x0400000C RID: 12
[Token(Token = "0x400000C")]
public static Action<NativeInputUpdateType> onBeforeUpdate;
// Token: 0x0400000D RID: 13
[Token(Token = "0x400000D")]
public static Func<NativeInputUpdateType, bool> onShouldRunUpdate;
// Token: 0x0400000E RID: 14
[Token(Token = "0x400000E")]
private static Action<int, string> s_OnDeviceDiscoveredCallback;
}
}
@@ -0,0 +1,27 @@
using System;
using Cpp2IlInjected;
namespace UnityEngineInternal.Input
{
// Token: 0x02000004 RID: 4
[Token(Token = "0x2000004")]
[Flags]
internal enum NativeInputUpdateType
{
// Token: 0x04000006 RID: 6
[Token(Token = "0x4000006")]
Dynamic = 1,
// Token: 0x04000007 RID: 7
[Token(Token = "0x4000007")]
Fixed = 2,
// Token: 0x04000008 RID: 8
[Token(Token = "0x4000008")]
BeforeRender = 4,
// Token: 0x04000009 RID: 9
[Token(Token = "0x4000009")]
Editor = 8,
// Token: 0x0400000A RID: 10
[Token(Token = "0x400000A")]
IgnoreFocus = -2147483648
}
}
@@ -0,0 +1,10 @@
using System;
using Cpp2IlInjected;
namespace UnityEngineInternal.Input
{
// Token: 0x02000002 RID: 2
// (Invoke) Token: 0x06000002 RID: 2
[Token(Token = "0x2000002")]
internal unsafe delegate void NativeUpdateCallback(NativeInputUpdateType updateType, NativeInputEventBuffer* buffer);
}