m
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000006 RID: 6
|
||||
internal class AddressAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000002 RID: 2
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x04000003 RID: 3
|
||||
public string Offset;
|
||||
|
||||
// Token: 0x04000004 RID: 4
|
||||
public string VA;
|
||||
|
||||
// Token: 0x04000005 RID: 5
|
||||
public string Slot;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000B RID: 11
|
||||
internal class AnalysisFailedException : Exception
|
||||
{
|
||||
// Token: 0x0600000E RID: 14 RVA: 0x00002088 File Offset: 0x00000288
|
||||
public AnalysisFailedException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000008 RID: 8
|
||||
internal class AttributeAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000007 RID: 7
|
||||
public string Name;
|
||||
|
||||
// Token: 0x04000008 RID: 8
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x04000009 RID: 9
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000007 RID: 7
|
||||
internal class FieldOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000006 RID: 6
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000009 RID: 9
|
||||
internal class MetadataOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000A RID: 10
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000A RID: 10
|
||||
internal class TokenAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000B RID: 11
|
||||
public string Token;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using Unity.Jobs.LowLevel.Unsafe;
|
||||
|
||||
namespace Unity.Jobs
|
||||
{
|
||||
// Token: 0x02000002 RID: 2
|
||||
[Token(Token = "0x2000002")]
|
||||
[JobProducerType(typeof(IJobParallelForBatchExtensions.JobParallelForBatchProducer<>))]
|
||||
public interface IJobParallelForBatch
|
||||
{
|
||||
// Token: 0x06000001 RID: 1
|
||||
[Token(Token = "0x6000001")]
|
||||
[Address(RVA = "0x204FBE8505148C", Offset = "0x0", VA = "0x204FC00505148C", Slot = "0")]
|
||||
void Execute(int startIndex, int count);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using Unity.Jobs.LowLevel.Unsafe;
|
||||
|
||||
namespace Unity.Jobs
|
||||
{
|
||||
// Token: 0x02000003 RID: 3
|
||||
[Token(Token = "0x2000003")]
|
||||
public static class IJobParallelForBatchExtensions
|
||||
{
|
||||
// Token: 0x06000002 RID: 2 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000002")]
|
||||
[Address(RVA = "0x35BE200", Offset = "0x35BD200", VA = "0x1835BE200")]
|
||||
public static JobHandle ScheduleBatch<T>(this T jobData, int arrayLength, int minIndicesPerJobCount, [Optional] JobHandle dependsOn) where T : struct, IJobParallelForBatch
|
||||
{
|
||||
return default(JobHandle);
|
||||
}
|
||||
|
||||
// Token: 0x02000004 RID: 4
|
||||
[Token(Token = "0x2000004")]
|
||||
internal struct JobParallelForBatchProducer<T> where T : struct, IJobParallelForBatch
|
||||
{
|
||||
// Token: 0x06000003 RID: 3 RVA: 0x00002068 File Offset: 0x00000268
|
||||
[Token(Token = "0x6000003")]
|
||||
[Address(RVA = "0x362CA90", Offset = "0x362BA90", VA = "0x18362CA90")]
|
||||
public static IntPtr Initialize()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06000004 RID: 4 RVA: 0x0000207E File Offset: 0x0000027E
|
||||
[Token(Token = "0x6000004")]
|
||||
[Address(RVA = "0x362CA00", Offset = "0x362BA00", VA = "0x18362CA00")]
|
||||
public static void Execute(ref T jobData, IntPtr additionalPtr, IntPtr bufferRangePatchData, ref JobRanges ranges, int jobIndex)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000001 RID: 1
|
||||
[Token(Token = "0x4000001")]
|
||||
private static IntPtr s_JobReflectionData;
|
||||
|
||||
// Token: 0x02000005 RID: 5
|
||||
// (Invoke) Token: 0x06000006 RID: 6
|
||||
[Token(Token = "0x2000005")]
|
||||
public delegate void ExecuteJobFunction(ref T jobData, IntPtr additionalPtr, IntPtr bufferRangePatchData, ref JobRanges ranges, int jobIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.0.0.0")]
|
||||
@@ -0,0 +1,61 @@
|
||||
<?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-FF63443DDEEB}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>Unity.Jobs</RootNamespace>
|
||||
<AssemblyName>Unity.Jobs</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="IJobParallelForBatch.cs" />
|
||||
<Compile Include="IJobParallelForBatchExtensions.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\mscorlib\mscorlib.csproj">
|
||||
<Project>{e3d718ff-6cca-48a8-8fbe-ff63443dde9d}</Project>
|
||||
<Name>mscorlib</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\UnityEngine.CoreModule\UnityEngine.CoreModule.csproj">
|
||||
<Project>{e3d718ff-6cca-48a8-8fbe-ff63443ddefd}</Project>
|
||||
<Name>UnityEngine.CoreModule</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
Reference in New Issue
Block a user