75 lines
2.3 KiB
C#
75 lines
2.3 KiB
C#
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 = "0x122DFA0", Offset = "0x122CFA0", VA = "0x18122DFA0")]
|
|
[RequiredByNativeCode]
|
|
internal static void NotifyBeforeUpdate(NativeInputUpdateType updateType)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000007 RID: 7 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000007")]
|
|
[Address(RVA = "0x122E0A0", Offset = "0x122D0A0", VA = "0x18122E0A0")]
|
|
[RequiredByNativeCode]
|
|
internal static void NotifyUpdate(NativeInputUpdateType updateType, IntPtr eventBuffer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000008 RID: 8 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000008")]
|
|
[Address(RVA = "0x122E020", Offset = "0x122D020", VA = "0x18122E020")]
|
|
[RequiredByNativeCode]
|
|
internal static void NotifyDeviceDiscovered(int deviceId, string deviceDescriptor)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000009 RID: 9 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000009")]
|
|
[Address(RVA = "0x122E140", Offset = "0x122D140", VA = "0x18122E140")]
|
|
[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 = "0x122E200", Offset = "0x122D200", VA = "0x18122E200")]
|
|
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;
|
|
}
|
|
}
|