oh dear
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000007 RID: 7
|
||||
internal class AddressAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000D RID: 13
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x0400000E RID: 14
|
||||
public string Offset;
|
||||
|
||||
// Token: 0x0400000F RID: 15
|
||||
public string VA;
|
||||
|
||||
// Token: 0x04000010 RID: 16
|
||||
public string Slot;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000C RID: 12
|
||||
internal class AnalysisFailedException : Exception
|
||||
{
|
||||
// Token: 0x0600001B RID: 27 RVA: 0x0000211E File Offset: 0x0000031E
|
||||
public AnalysisFailedException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000009 RID: 9
|
||||
internal class AttributeAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000012 RID: 18
|
||||
public string Name;
|
||||
|
||||
// Token: 0x04000013 RID: 19
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x04000014 RID: 20
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000008 RID: 8
|
||||
internal class FieldOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000011 RID: 17
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000A RID: 10
|
||||
internal class MetadataOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000015 RID: 21
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000B RID: 11
|
||||
internal class TokenAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000016 RID: 22
|
||||
public string Token;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.0.0.0")]
|
||||
@@ -0,0 +1,67 @@
|
||||
<?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>{6964D65D-0CBB-4C42-A997-2E6589744D75}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>UnityEngine.AIModule</RootNamespace>
|
||||
<AssemblyName>UnityEngine.AIModule</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="UnityEngine\AI\NavMesh.cs" />
|
||||
<Compile Include="UnityEngine\AI\NavMeshHit.cs" />
|
||||
<Compile Include="UnityEngine\AI\NavMeshPath.cs" />
|
||||
<Compile Include="UnityEngine\AI\NavMeshPathStatus.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\mscorlib\mscorlib.csproj">
|
||||
<Project>{6964d65d-0cbb-4c42-a997-2e6589744d25}</Project>
|
||||
<Name>mscorlib</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\UnityEngine.CoreModule\UnityEngine.CoreModule.csproj">
|
||||
<Project>{6964d65d-0cbb-4c42-a997-2e6589744d7c}</Project>
|
||||
<Name>UnityEngine.CoreModule</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\UnityEngine.SharedInternalsModule\UnityEngine.SharedInternalsModule.csproj">
|
||||
<Project>{6964d65d-0cbb-4c42-a997-2e6589744d8a}</Project>
|
||||
<Name>UnityEngine.SharedInternalsModule</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,74 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine.Bindings;
|
||||
using UnityEngine.Scripting;
|
||||
using UnityEngine.Scripting.APIUpdating;
|
||||
|
||||
namespace UnityEngine.AI
|
||||
{
|
||||
// Token: 0x02000005 RID: 5
|
||||
[Token(Token = "0x2000005")]
|
||||
[MovedFrom("UnityEngine")]
|
||||
[StaticAccessor("NavMeshBindings", StaticAccessorType.DoubleColon)]
|
||||
[NativeHeader("Modules/AI/NavMeshManager.h")]
|
||||
[NativeHeader("Modules/AI/NavMesh/NavMesh.bindings.h")]
|
||||
public static class NavMesh
|
||||
{
|
||||
// Token: 0x0600000C RID: 12 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600000C")]
|
||||
[Address(RVA = "0x74E910", Offset = "0x74D710", VA = "0x18074E910")]
|
||||
[RequiredByNativeCode]
|
||||
private static void Internal_CallOnNavMeshPreUpdate()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600000D RID: 13 RVA: 0x000020A0 File Offset: 0x000002A0
|
||||
[Token(Token = "0x600000D")]
|
||||
[Address(RVA = "0x74E840", Offset = "0x74D640", VA = "0x18074E840")]
|
||||
public static bool CalculatePath(Vector3 sourcePosition, Vector3 targetPosition, int areaMask, NavMeshPath path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600000E RID: 14 RVA: 0x000020B8 File Offset: 0x000002B8
|
||||
[Token(Token = "0x600000E")]
|
||||
[Address(RVA = "0x74E7D0", Offset = "0x74D5D0", VA = "0x18074E7D0")]
|
||||
private static bool CalculatePathInternal(Vector3 sourcePosition, Vector3 targetPosition, int areaMask, NavMeshPath path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600000F RID: 15 RVA: 0x000020D0 File Offset: 0x000002D0
|
||||
[Token(Token = "0x600000F")]
|
||||
[Address(RVA = "0x74E9D0", Offset = "0x74D7D0", VA = "0x18074E9D0")]
|
||||
public static bool SamplePosition(Vector3 sourcePosition, out NavMeshHit hit, float maxDistance, int areaMask)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06000010 RID: 16 RVA: 0x000020E8 File Offset: 0x000002E8
|
||||
[Token(Token = "0x6000010")]
|
||||
[Address(RVA = "0x74E760", Offset = "0x74D560", VA = "0x18074E760")]
|
||||
private static bool CalculatePathInternal_Injected(ref Vector3 sourcePosition, ref Vector3 targetPosition, int areaMask, NavMeshPath path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06000011 RID: 17 RVA: 0x00002100 File Offset: 0x00000300
|
||||
[Token(Token = "0x6000011")]
|
||||
[Address(RVA = "0x74E960", Offset = "0x74D760", VA = "0x18074E960")]
|
||||
private static bool SamplePosition_Injected(ref Vector3 sourcePosition, out NavMeshHit hit, float maxDistance, int areaMask)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0400000C RID: 12
|
||||
[Token(Token = "0x400000C")]
|
||||
public static NavMesh.OnNavMeshPreUpdate onPreUpdate;
|
||||
|
||||
// Token: 0x02000006 RID: 6
|
||||
// (Invoke) Token: 0x06000013 RID: 19
|
||||
[Token(Token = "0x2000006")]
|
||||
public delegate void OnNavMeshPreUpdate();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine.Scripting.APIUpdating;
|
||||
|
||||
namespace UnityEngine.AI
|
||||
{
|
||||
// Token: 0x02000004 RID: 4
|
||||
[Token(Token = "0x2000004")]
|
||||
[MovedFrom("UnityEngine")]
|
||||
public struct NavMeshHit
|
||||
{
|
||||
// Token: 0x17000003 RID: 3
|
||||
// (get) Token: 0x0600000B RID: 11 RVA: 0x00002088 File Offset: 0x00000288
|
||||
[Token(Token = "0x17000003")]
|
||||
public Vector3 position
|
||||
{
|
||||
[Token(Token = "0x600000B")]
|
||||
[Address(RVA = "0x70C4D0", Offset = "0x70B2D0", VA = "0x18070C4D0")]
|
||||
get
|
||||
{
|
||||
return default(Vector3);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000007 RID: 7
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000007")]
|
||||
private Vector3 m_Position;
|
||||
|
||||
// Token: 0x04000008 RID: 8
|
||||
[FieldOffset(Offset = "0xC")]
|
||||
[Token(Token = "0x4000008")]
|
||||
private Vector3 m_Normal;
|
||||
|
||||
// Token: 0x04000009 RID: 9
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000009")]
|
||||
private float m_Distance;
|
||||
|
||||
// Token: 0x0400000A RID: 10
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x400000A")]
|
||||
private int m_Mask;
|
||||
|
||||
// Token: 0x0400000B RID: 11
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400000B")]
|
||||
private int m_Hit;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine.Bindings;
|
||||
using UnityEngine.Scripting.APIUpdating;
|
||||
|
||||
namespace UnityEngine.AI
|
||||
{
|
||||
// Token: 0x02000003 RID: 3
|
||||
[Token(Token = "0x2000003")]
|
||||
[NativeHeader("Modules/AI/NavMeshPath.bindings.h")]
|
||||
[MovedFrom("UnityEngine")]
|
||||
[StructLayout(0)]
|
||||
public sealed class NavMeshPath
|
||||
{
|
||||
// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000001")]
|
||||
[Address(RVA = "0x74E690", Offset = "0x74D490", VA = "0x18074E690")]
|
||||
public NavMeshPath()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000002 RID: 2 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000002")]
|
||||
[Address(RVA = "0x74E5A0", Offset = "0x74D3A0", VA = "0x18074E5A0", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000003 RID: 3 RVA: 0x00002054 File Offset: 0x00000254
|
||||
[Token(Token = "0x6000003")]
|
||||
[Address(RVA = "0x74E660", Offset = "0x74D460", VA = "0x18074E660")]
|
||||
[FreeFunction]
|
||||
private static IntPtr InitializeNavMeshPath()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06000004 RID: 4 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000004")]
|
||||
[Address(RVA = "0x74E560", Offset = "0x74D360", VA = "0x18074E560")]
|
||||
[FreeFunction]
|
||||
private static void DestroyNavMeshPath(IntPtr ptr)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000005 RID: 5 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x6000005")]
|
||||
[Address(RVA = "0x74E460", Offset = "0x74D260", VA = "0x18074E460")]
|
||||
[FreeFunction]
|
||||
private Vector3[] CalculateCornersInternal()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000006 RID: 6 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000006")]
|
||||
[Address(RVA = "0x74E4E0", Offset = "0x74D2E0", VA = "0x18074E4E0")]
|
||||
[FreeFunction]
|
||||
private void ClearCornersInternal()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000007 RID: 7 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000007")]
|
||||
[Address(RVA = "0x74E520", Offset = "0x74D320", VA = "0x18074E520")]
|
||||
public void ClearCorners()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000008 RID: 8 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000008")]
|
||||
[Address(RVA = "0x74E4A0", Offset = "0x74D2A0", VA = "0x18074E4A0")]
|
||||
private void CalculateCorners()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000001 RID: 1
|
||||
// (get) Token: 0x06000009 RID: 9 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x17000001")]
|
||||
public Vector3[] corners
|
||||
{
|
||||
[Token(Token = "0x6000009")]
|
||||
[Address(RVA = "0x74E6D0", Offset = "0x74D4D0", VA = "0x18074E6D0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000002 RID: 2
|
||||
// (get) Token: 0x0600000A RID: 10 RVA: 0x00002070 File Offset: 0x00000270
|
||||
[Token(Token = "0x17000002")]
|
||||
public NavMeshPathStatus status
|
||||
{
|
||||
[Token(Token = "0x600000A")]
|
||||
[Address(RVA = "0x74E720", Offset = "0x74D520", VA = "0x18074E720")]
|
||||
get
|
||||
{
|
||||
return NavMeshPathStatus.PathComplete;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000005 RID: 5
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000005")]
|
||||
internal IntPtr m_Ptr;
|
||||
|
||||
// Token: 0x04000006 RID: 6
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000006")]
|
||||
internal Vector3[] m_Corners;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine.Scripting.APIUpdating;
|
||||
|
||||
namespace UnityEngine.AI
|
||||
{
|
||||
// Token: 0x02000002 RID: 2
|
||||
[Token(Token = "0x2000002")]
|
||||
[MovedFrom("UnityEngine")]
|
||||
public enum NavMeshPathStatus
|
||||
{
|
||||
// Token: 0x04000002 RID: 2
|
||||
[Token(Token = "0x4000002")]
|
||||
PathComplete,
|
||||
// Token: 0x04000003 RID: 3
|
||||
[Token(Token = "0x4000003")]
|
||||
PathPartial,
|
||||
// Token: 0x04000004 RID: 4
|
||||
[Token(Token = "0x4000004")]
|
||||
PathInvalid
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user