oh dear
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000006 RID: 6
|
||||
internal class AddressAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000001 RID: 1
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x04000002 RID: 2
|
||||
public string Offset;
|
||||
|
||||
// Token: 0x04000003 RID: 3
|
||||
public string VA;
|
||||
|
||||
// Token: 0x04000004 RID: 4
|
||||
public string Slot;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000B RID: 11
|
||||
internal class AnalysisFailedException : Exception
|
||||
{
|
||||
// Token: 0x0600001E RID: 30 RVA: 0x0000205D File Offset: 0x0000025D
|
||||
public AnalysisFailedException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000008 RID: 8
|
||||
internal class AttributeAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000006 RID: 6
|
||||
public string Name;
|
||||
|
||||
// Token: 0x04000007 RID: 7
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x04000008 RID: 8
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000007 RID: 7
|
||||
internal class FieldOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000005 RID: 5
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000009 RID: 9
|
||||
internal class MetadataOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000009 RID: 9
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000A RID: 10
|
||||
internal class TokenAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000A RID: 10
|
||||
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-2E6589744D79}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>UnityEngine.AssetBundleModule</RootNamespace>
|
||||
<AssemblyName>UnityEngine.AssetBundleModule</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\AssetBundle.cs" />
|
||||
<Compile Include="UnityEngine\AssetBundleCreateRequest.cs" />
|
||||
<Compile Include="UnityEngine\AssetBundleRecompressOperation.cs" />
|
||||
<Compile Include="UnityEngine\AssetBundleRequest.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,188 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine.Bindings;
|
||||
using UnityEngineInternal;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x02000002 RID: 2
|
||||
[Token(Token = "0x2000002")]
|
||||
[ExcludeFromPreset]
|
||||
[NativeHeader("Runtime/Scripting/ScriptingUtility.h")]
|
||||
[NativeHeader("Runtime/Scripting/ScriptingObjectWithIntPtrField.h")]
|
||||
[NativeHeader("Modules/AssetBundle/Public/AssetBundleLoadAssetOperation.h")]
|
||||
[NativeHeader("Modules/AssetBundle/Public/AssetBundleSaveAndLoadHelper.h")]
|
||||
[NativeHeader("Modules/AssetBundle/Public/AssetBundleLoadAssetUtility.h")]
|
||||
[NativeHeader("Modules/AssetBundle/Public/AssetBundleUtility.h")]
|
||||
[NativeHeader("Runtime/Scripting/ScriptingExportUtility.h")]
|
||||
[NativeHeader("Modules/AssetBundle/Public/AssetBundleLoadFromMemoryAsyncOperation.h")]
|
||||
[NativeHeader("Modules/AssetBundle/Public/AssetBundleLoadFromFileAsyncOperation.h")]
|
||||
[NativeHeader("AssetBundleScriptingClasses.h")]
|
||||
[NativeHeader("Modules/AssetBundle/Public/AssetBundleLoadFromManagedStreamAsyncOperation.h")]
|
||||
public class AssetBundle : Object
|
||||
{
|
||||
// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000001")]
|
||||
[Address(RVA = "0x74D820", Offset = "0x74C620", VA = "0x18074D820")]
|
||||
private AssetBundle()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000002 RID: 2 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x6000002")]
|
||||
[Address(RVA = "0x74D660", Offset = "0x74C460", VA = "0x18074D660")]
|
||||
[FreeFunction]
|
||||
internal static AssetBundleCreateRequest LoadFromFileAsync_Internal(string path, uint crc, ulong offset)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000003 RID: 3 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x6000003")]
|
||||
[Address(RVA = "0x74D6B0", Offset = "0x74C4B0", VA = "0x18074D6B0")]
|
||||
public static AssetBundleCreateRequest LoadFromFileAsync(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000004 RID: 4 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x6000004")]
|
||||
[Address(RVA = "0x74D6F0", Offset = "0x74C4F0", VA = "0x18074D6F0")]
|
||||
public static AssetBundleCreateRequest LoadFromFileAsync(string path, uint crc)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000005 RID: 5 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x6000005")]
|
||||
[Address(RVA = "0x74D740", Offset = "0x74C540", VA = "0x18074D740")]
|
||||
[FreeFunction]
|
||||
internal static AssetBundle LoadFromFile_Internal(string path, uint crc, ulong offset)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000006 RID: 6 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x6000006")]
|
||||
[Address(RVA = "0x74D790", Offset = "0x74C590", VA = "0x18074D790")]
|
||||
public static AssetBundle LoadFromFile(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000007 RID: 7 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x6000007")]
|
||||
[Address(RVA = "0x74D500", Offset = "0x74C300", VA = "0x18074D500")]
|
||||
public Object LoadAsset(string name)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000008 RID: 8 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x6000008")]
|
||||
[Address(RVA = "0x12950C0", Offset = "0x1293EC0", VA = "0x1812950C0")]
|
||||
public T LoadAsset<T>(string name) where T : Object
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000009 RID: 9 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x6000009")]
|
||||
[Address(RVA = "0x74D3E0", Offset = "0x74C1E0", VA = "0x18074D3E0")]
|
||||
[TypeInferenceRule(TypeInferenceRules.TypeReferencedBySecondArgument)]
|
||||
public Object LoadAsset(string name, Type type)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600000A RID: 10 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x600000A")]
|
||||
[Address(RVA = "0x74D380", Offset = "0x74C180", VA = "0x18074D380")]
|
||||
[NativeThrows]
|
||||
[NativeMethod]
|
||||
[TypeInferenceRule(TypeInferenceRules.TypeReferencedBySecondArgument)]
|
||||
[NativeMethod("LoadAsset_Internal")]
|
||||
private Object LoadAsset_Internal(string name, Type type)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600000B RID: 11 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x600000B")]
|
||||
[Address(RVA = "0x74D100", Offset = "0x74BF00", VA = "0x18074D100")]
|
||||
public AssetBundleRequest LoadAssetAsync(string name, Type type)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600000C RID: 12 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x600000C")]
|
||||
[Address(RVA = "0x74D280", Offset = "0x74C080", VA = "0x18074D280")]
|
||||
public AssetBundleRequest LoadAssetWithSubAssetsAsync(string name, Type type)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600000D RID: 13 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x600000D")]
|
||||
[Address(RVA = "0x1E64C40", Offset = "0x1E63A40", VA = "0x181E64C40")]
|
||||
public AssetBundleRequest LoadAllAssetsAsync<T>()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600000E RID: 14 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x600000E")]
|
||||
[Address(RVA = "0x74CFF0", Offset = "0x74BDF0", VA = "0x18074CFF0")]
|
||||
public AssetBundleRequest LoadAllAssetsAsync(Type type)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600000F RID: 15 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x600000F")]
|
||||
[Address(RVA = "0x74D0A0", Offset = "0x74BEA0", VA = "0x18074D0A0")]
|
||||
[NativeMethod]
|
||||
[NativeThrows]
|
||||
private AssetBundleRequest LoadAssetAsync_Internal(string name, Type type)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000010 RID: 16 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000010")]
|
||||
[Address(RVA = "0x74D7D0", Offset = "0x74C5D0", VA = "0x18074D7D0")]
|
||||
[NativeMethod]
|
||||
public void Unload(bool unloadAllLoadedObjects)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000011 RID: 17 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x6000011")]
|
||||
[Address(RVA = "0x74CF70", Offset = "0x74BD70", VA = "0x18074CF70")]
|
||||
[NativeMethod]
|
||||
public string[] GetAllAssetNames()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000012 RID: 18 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x6000012")]
|
||||
[Address(RVA = "0x74CFB0", Offset = "0x74BDB0", VA = "0x18074CFB0")]
|
||||
[NativeMethod]
|
||||
public string[] GetAllScenePaths()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000013 RID: 19 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x6000013")]
|
||||
[Address(RVA = "0x74D220", Offset = "0x74C020", VA = "0x18074D220")]
|
||||
[NativeMethod]
|
||||
[NativeThrows]
|
||||
private AssetBundleRequest LoadAssetWithSubAssetsAsync_Internal(string name, Type type)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine.Bindings;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x02000003 RID: 3
|
||||
[Token(Token = "0x2000003")]
|
||||
[RequiredByNativeCode]
|
||||
[NativeHeader("Modules/AssetBundle/Public/AssetBundleLoadFromAsyncOperation.h")]
|
||||
[StructLayout(0)]
|
||||
public class AssetBundleCreateRequest : AsyncOperation
|
||||
{
|
||||
// Token: 0x17000001 RID: 1
|
||||
// (get) Token: 0x06000014 RID: 20 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x17000001")]
|
||||
public AssetBundle assetBundle
|
||||
{
|
||||
[Token(Token = "0x6000014")]
|
||||
[Address(RVA = "0x74CEB0", Offset = "0x74BCB0", VA = "0x18074CEB0")]
|
||||
[NativeMethod]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000015 RID: 21 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000015")]
|
||||
[Address(RVA = "0x716AB0", Offset = "0x7158B0", VA = "0x180716AB0")]
|
||||
public AssetBundleCreateRequest()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine.Bindings;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x02000004 RID: 4
|
||||
[Token(Token = "0x2000004")]
|
||||
[RequiredByNativeCode]
|
||||
[NativeHeader("Modules/AssetBundle/Public/AssetBundleRecompressOperation.h")]
|
||||
[StructLayout(0)]
|
||||
public class AssetBundleRecompressOperation : AsyncOperation
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine.Bindings;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x02000005 RID: 5
|
||||
[Token(Token = "0x2000005")]
|
||||
[RequiredByNativeCode]
|
||||
[NativeHeader("Modules/AssetBundle/Public/AssetBundleLoadAssetOperation.h")]
|
||||
[StructLayout(0)]
|
||||
public class AssetBundleRequest : AsyncOperation
|
||||
{
|
||||
// Token: 0x17000002 RID: 2
|
||||
// (get) Token: 0x06000016 RID: 22 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x17000002")]
|
||||
public Object asset
|
||||
{
|
||||
[Token(Token = "0x6000016")]
|
||||
[Address(RVA = "0x74CF30", Offset = "0x74BD30", VA = "0x18074CF30")]
|
||||
[NativeMethod]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000003 RID: 3
|
||||
// (get) Token: 0x06000017 RID: 23 RVA: 0x00002052 File Offset: 0x00000252
|
||||
[Token(Token = "0x17000003")]
|
||||
public Object[] allAssets
|
||||
{
|
||||
[Token(Token = "0x6000017")]
|
||||
[Address(RVA = "0x74CEF0", Offset = "0x74BCF0", VA = "0x18074CEF0")]
|
||||
[NativeMethod]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000018 RID: 24 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000018")]
|
||||
[Address(RVA = "0x716AB0", Offset = "0x7158B0", VA = "0x180716AB0")]
|
||||
public AssetBundleRequest()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user