m
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000006 RID: 6
|
||||
internal class AddressAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000F RID: 15
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x04000010 RID: 16
|
||||
public string Offset;
|
||||
|
||||
// Token: 0x04000011 RID: 17
|
||||
public string VA;
|
||||
|
||||
// Token: 0x04000012 RID: 18
|
||||
public string Slot;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000B RID: 11
|
||||
internal class AnalysisFailedException : Exception
|
||||
{
|
||||
// Token: 0x06000010 RID: 16 RVA: 0x0000205A File Offset: 0x0000025A
|
||||
public AnalysisFailedException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000008 RID: 8
|
||||
internal class AttributeAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000014 RID: 20
|
||||
public string Name;
|
||||
|
||||
// Token: 0x04000015 RID: 21
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x04000016 RID: 22
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000007 RID: 7
|
||||
internal class FieldOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000013 RID: 19
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000009 RID: 9
|
||||
internal class MetadataOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000017 RID: 23
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000A RID: 10
|
||||
internal class TokenAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000018 RID: 24
|
||||
public string Token;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.0.0.0")]
|
||||
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{E3D718FF-6CCA-48A8-8FBE-FF63443DDF05}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>UnityEngine.InputModule</RootNamespace>
|
||||
<AssemblyName>UnityEngine.InputModule</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<NoStdLib>true</NoStdLib>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<NoStdLib>true</NoStdLib>
|
||||
</PropertyGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Cpp2IlInjected\AddressAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\AnalysisFailedException.cs" />
|
||||
<Compile Include="Cpp2IlInjected\AttributeAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\FieldOffsetAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\MetadataOffsetAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\TokenAttribute.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="UnityEngineInternal\Input\NativeInputEventBuffer.cs" />
|
||||
<Compile Include="UnityEngineInternal\Input\NativeInputSystem.cs" />
|
||||
<Compile Include="UnityEngineInternal\Input\NativeInputUpdateType.cs" />
|
||||
<Compile Include="UnityEngineInternal\Input\NativeUpdateCallback.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\mscorlib\mscorlib.csproj">
|
||||
<Project>{e3d718ff-6cca-48a8-8fbe-ff63443dde9d}</Project>
|
||||
<Name>mscorlib</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\UnityEngine.SharedInternalsModule\UnityEngine.SharedInternalsModule.csproj">
|
||||
<Project>{e3d718ff-6cca-48a8-8fbe-ff63443ddf0b}</Project>
|
||||
<Name>UnityEngine.SharedInternalsModule</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -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 = "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;
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user