106 lines
4.9 KiB
C#
106 lines
4.9 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
|
|
// Token: 0x02000108 RID: 264
|
|
public sealed class AssetEffectRequest : AssetRequestBase
|
|
{
|
|
// Token: 0x17001680 RID: 5760
|
|
// (get) Token: 0x06003C78 RID: 15480 RVA: 0x000EE7E4 File Offset: 0x000EC9E4
|
|
public unsafe override int AssetGroup
|
|
{
|
|
[CallerCount(0)]
|
|
get
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(AssetEffectRequest.NativeMethodInfoPtr_get_AssetGroup_Public_Virtual_get_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001681 RID: 5761
|
|
// (get) Token: 0x06003C79 RID: 15481 RVA: 0x000EE834 File Offset: 0x000ECA34
|
|
public unsafe override string RootPath
|
|
{
|
|
[CallerCount(3)]
|
|
[CachedScanResults(RefRangeStart = 11268, RefRangeEnd = 11271, XrefRangeStart = 11268, XrefRangeEnd = 11271, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
get
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(AssetEffectRequest.NativeMethodInfoPtr_get_RootPath_Protected_Virtual_get_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return IL2CPP.Il2CppStringToManaged(intPtr);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003C7A RID: 15482 RVA: 0x000EE880 File Offset: 0x000ECA80
|
|
[CallerCount(4)]
|
|
[CachedScanResults(RefRangeStart = 545159, RefRangeEnd = 545163, XrefRangeStart = 545153, XrefRangeEnd = 545159, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe AssetEffectRequest(string rootPath, string assetName)
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<AssetEffectRequest>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr;
|
|
checked
|
|
{
|
|
ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.ManagedStringToIl2Cpp(rootPath);
|
|
}
|
|
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.ManagedStringToIl2Cpp(assetName);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(AssetEffectRequest.NativeMethodInfoPtr__ctor_Public_Void_String_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06003C7B RID: 15483 RVA: 0x000EE8FC File Offset: 0x000ECAFC
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static AssetEffectRequest()
|
|
{
|
|
Il2CppClassPointerStore<AssetEffectRequest>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "AssetEffectRequest");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<AssetEffectRequest>.NativeClassPtr);
|
|
AssetEffectRequest.NativeFieldInfoPtr__RootPath_k__BackingField = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AssetEffectRequest>.NativeClassPtr, "<RootPath>k__BackingField");
|
|
AssetEffectRequest.NativeMethodInfoPtr_get_AssetGroup_Public_Virtual_get_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AssetEffectRequest>.NativeClassPtr, 100666978);
|
|
AssetEffectRequest.NativeMethodInfoPtr_get_RootPath_Protected_Virtual_get_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AssetEffectRequest>.NativeClassPtr, 100666979);
|
|
AssetEffectRequest.NativeMethodInfoPtr__ctor_Public_Void_String_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AssetEffectRequest>.NativeClassPtr, 100666980);
|
|
}
|
|
|
|
// Token: 0x06003C7C RID: 15484 RVA: 0x000EE97C File Offset: 0x000ECB7C
|
|
public AssetEffectRequest(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x1700167F RID: 5759
|
|
// (get) Token: 0x06003C7D RID: 15485 RVA: 0x000EE988 File Offset: 0x000ECB88
|
|
// (set) Token: 0x06003C7E RID: 15486 RVA: 0x000EE9B1 File Offset: 0x000ECBB1
|
|
public unsafe string _RootPath_k__BackingField
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AssetEffectRequest.NativeFieldInfoPtr__RootPath_k__BackingField);
|
|
return IL2CPP.Il2CppStringToManaged(*intPtr);
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(AssetEffectRequest.NativeFieldInfoPtr__RootPath_k__BackingField), IL2CPP.ManagedStringToIl2Cpp(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x04002786 RID: 10118
|
|
private static readonly IntPtr NativeFieldInfoPtr__RootPath_k__BackingField;
|
|
|
|
// Token: 0x04002787 RID: 10119
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_AssetGroup_Public_Virtual_get_Int32_0;
|
|
|
|
// Token: 0x04002788 RID: 10120
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_RootPath_Protected_Virtual_get_String_0;
|
|
|
|
// Token: 0x04002789 RID: 10121
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_String_0;
|
|
}
|