using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;

// Token: 0x02000130 RID: 304
public sealed class AssetSoundEffectRequest : AssetRequestBase
{
	// Token: 0x1700174B RID: 5963
	// (get) Token: 0x06003F73 RID: 16243 RVA: 0x000FBA24 File Offset: 0x000F9C24
	public unsafe override int AssetGroup
	{
		[CallerCount(0)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(AssetSoundEffectRequest.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: 0x1700174C RID: 5964
	// (get) Token: 0x06003F74 RID: 16244 RVA: 0x000FBA74 File Offset: 0x000F9C74
	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(AssetSoundEffectRequest.NativeMethodInfoPtr_get_RootPath_Protected_Virtual_get_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return IL2CPP.Il2CppStringToManaged(intPtr);
		}
	}

	// Token: 0x06003F75 RID: 16245 RVA: 0x000FBAC0 File Offset: 0x000F9CC0
	[CallerCount(4)]
	[CachedScanResults(RefRangeStart = 553401, RefRangeEnd = 553405, XrefRangeStart = 553401, XrefRangeEnd = 553405, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe AssetSoundEffectRequest(string rootPath, string assetName)
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<AssetSoundEffectRequest>.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(AssetSoundEffectRequest.NativeMethodInfoPtr__ctor_Public_Void_String_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06003F76 RID: 16246 RVA: 0x000FBB3C File Offset: 0x000F9D3C
	// Note: this type is marked as 'beforefieldinit'.
	static AssetSoundEffectRequest()
	{
		Il2CppClassPointerStore<AssetSoundEffectRequest>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "AssetSoundEffectRequest");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<AssetSoundEffectRequest>.NativeClassPtr);
		AssetSoundEffectRequest.NativeFieldInfoPtr__RootPath_k__BackingField = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<AssetSoundEffectRequest>.NativeClassPtr, "<RootPath>k__BackingField");
		AssetSoundEffectRequest.NativeMethodInfoPtr_get_AssetGroup_Public_Virtual_get_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AssetSoundEffectRequest>.NativeClassPtr, 100667277);
		AssetSoundEffectRequest.NativeMethodInfoPtr_get_RootPath_Protected_Virtual_get_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AssetSoundEffectRequest>.NativeClassPtr, 100667278);
		AssetSoundEffectRequest.NativeMethodInfoPtr__ctor_Public_Void_String_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<AssetSoundEffectRequest>.NativeClassPtr, 100667279);
	}

	// Token: 0x06003F77 RID: 16247 RVA: 0x000FB6F0 File Offset: 0x000F98F0
	public AssetSoundEffectRequest(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700174A RID: 5962
	// (get) Token: 0x06003F78 RID: 16248 RVA: 0x000FBBBC File Offset: 0x000F9DBC
	// (set) Token: 0x06003F79 RID: 16249 RVA: 0x000FBBE5 File Offset: 0x000F9DE5
	public unsafe string _RootPath_k__BackingField
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(AssetSoundEffectRequest.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(AssetSoundEffectRequest.NativeFieldInfoPtr__RootPath_k__BackingField), IL2CPP.ManagedStringToIl2Cpp(value));
		}
	}

	// Token: 0x04002991 RID: 10641
	private static readonly IntPtr NativeFieldInfoPtr__RootPath_k__BackingField;

	// Token: 0x04002992 RID: 10642
	private static readonly IntPtr NativeMethodInfoPtr_get_AssetGroup_Public_Virtual_get_Int32_0;

	// Token: 0x04002993 RID: 10643
	private static readonly IntPtr NativeMethodInfoPtr_get_RootPath_Protected_Virtual_get_String_0;

	// Token: 0x04002994 RID: 10644
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_String_0;
}
