106 lines
4.9 KiB
C#
106 lines
4.9 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
|
|
// Token: 0x0200012D RID: 301
|
|
public sealed class AssetEffectRequest : AssetRequestBase
|
|
{
|
|
// Token: 0x17001744 RID: 5956
|
|
// (get) Token: 0x06003F62 RID: 16226 RVA: 0x000FB558 File Offset: 0x000F9758
|
|
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: 0x17001745 RID: 5957
|
|
// (get) Token: 0x06003F63 RID: 16227 RVA: 0x000FB5A8 File Offset: 0x000F97A8
|
|
public unsafe override string RootPath
|
|
{
|
|
[CallerCount(3)]
|
|
[CachedScanResults(RefRangeStart = 11345, RefRangeEnd = 11348, XrefRangeStart = 11345, XrefRangeEnd = 11348, 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: 0x06003F64 RID: 16228 RVA: 0x000FB5F4 File Offset: 0x000F97F4
|
|
[CallerCount(4)]
|
|
[CachedScanResults(RefRangeStart = 553401, RefRangeEnd = 553405, XrefRangeStart = 553395, XrefRangeEnd = 553401, 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: 0x06003F65 RID: 16229 RVA: 0x000FB670 File Offset: 0x000F9870
|
|
// 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, 100667268);
|
|
AssetEffectRequest.NativeMethodInfoPtr_get_RootPath_Protected_Virtual_get_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AssetEffectRequest>.NativeClassPtr, 100667269);
|
|
AssetEffectRequest.NativeMethodInfoPtr__ctor_Public_Void_String_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AssetEffectRequest>.NativeClassPtr, 100667270);
|
|
}
|
|
|
|
// Token: 0x06003F66 RID: 16230 RVA: 0x000FB6F0 File Offset: 0x000F98F0
|
|
public AssetEffectRequest(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17001743 RID: 5955
|
|
// (get) Token: 0x06003F67 RID: 16231 RVA: 0x000FB6FC File Offset: 0x000F98FC
|
|
// (set) Token: 0x06003F68 RID: 16232 RVA: 0x000FB725 File Offset: 0x000F9925
|
|
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: 0x04002987 RID: 10631
|
|
private static readonly IntPtr NativeFieldInfoPtr__RootPath_k__BackingField;
|
|
|
|
// Token: 0x04002988 RID: 10632
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_AssetGroup_Public_Virtual_get_Int32_0;
|
|
|
|
// Token: 0x04002989 RID: 10633
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_RootPath_Protected_Virtual_get_String_0;
|
|
|
|
// Token: 0x0400298A RID: 10634
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_String_0;
|
|
}
|