106 lines
4.9 KiB
C#
106 lines
4.9 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
|
|
// Token: 0x02000107 RID: 263
|
|
public sealed class AssetEffectRequest : AssetRequestBase
|
|
{
|
|
// Token: 0x17001663 RID: 5731
|
|
// (get) Token: 0x06003C37 RID: 15415 RVA: 0x000ED880 File Offset: 0x000EBA80
|
|
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: 0x17001664 RID: 5732
|
|
// (get) Token: 0x06003C38 RID: 15416 RVA: 0x000ED8D0 File Offset: 0x000EBAD0
|
|
public unsafe override string RootPath
|
|
{
|
|
[CallerCount(3)]
|
|
[CachedScanResults(RefRangeStart = 11029, RefRangeEnd = 11032, XrefRangeStart = 11029, XrefRangeEnd = 11032, 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: 0x06003C39 RID: 15417 RVA: 0x000ED91C File Offset: 0x000EBB1C
|
|
[CallerCount(4)]
|
|
[CachedScanResults(RefRangeStart = 528234, RefRangeEnd = 528238, XrefRangeStart = 528228, XrefRangeEnd = 528234, 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: 0x06003C3A RID: 15418 RVA: 0x000ED998 File Offset: 0x000EBB98
|
|
// 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, 100666969);
|
|
AssetEffectRequest.NativeMethodInfoPtr_get_RootPath_Protected_Virtual_get_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AssetEffectRequest>.NativeClassPtr, 100666970);
|
|
AssetEffectRequest.NativeMethodInfoPtr__ctor_Public_Void_String_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AssetEffectRequest>.NativeClassPtr, 100666971);
|
|
}
|
|
|
|
// Token: 0x06003C3B RID: 15419 RVA: 0x000EDA18 File Offset: 0x000EBC18
|
|
public AssetEffectRequest(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17001662 RID: 5730
|
|
// (get) Token: 0x06003C3C RID: 15420 RVA: 0x000EDA24 File Offset: 0x000EBC24
|
|
// (set) Token: 0x06003C3D RID: 15421 RVA: 0x000EDA4D File Offset: 0x000EBC4D
|
|
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: 0x0400275D RID: 10077
|
|
private static readonly IntPtr NativeFieldInfoPtr__RootPath_k__BackingField;
|
|
|
|
// Token: 0x0400275E RID: 10078
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_AssetGroup_Public_Virtual_get_Int32_0;
|
|
|
|
// Token: 0x0400275F RID: 10079
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_RootPath_Protected_Virtual_get_String_0;
|
|
|
|
// Token: 0x04002760 RID: 10080
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_String_0;
|
|
}
|