using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using UnityEngine;

// Token: 0x020001D1 RID: 465
public class DamagedObjectDollWeak : DamageObject
{
	// Token: 0x06004C6D RID: 19565 RVA: 0x00131648 File Offset: 0x0012F848
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 570977, XrefRangeEnd = 570997, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Init()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), DamagedObjectDollWeak.NativeMethodInfoPtr_Init_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004C6E RID: 19566 RVA: 0x00131698 File Offset: 0x0012F898
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 570997, XrefRangeEnd = 571026, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void SetDamageColor()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), DamagedObjectDollWeak.NativeMethodInfoPtr_SetDamageColor_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004C6F RID: 19567 RVA: 0x001316E8 File Offset: 0x0012F8E8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 571026, XrefRangeEnd = 571035, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void SetRecovery()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), DamagedObjectDollWeak.NativeMethodInfoPtr_SetRecovery_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004C70 RID: 19568 RVA: 0x00131738 File Offset: 0x0012F938
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 571035, XrefRangeEnd = 571049, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void SetTimeScale(float fTimeScale)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref fTimeScale;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), DamagedObjectDollWeak.NativeMethodInfoPtr_SetTimeScale_Public_Virtual_Void_Single_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004C71 RID: 19569 RVA: 0x00131798 File Offset: 0x0012F998
	[CallerCount(4)]
	[CachedScanResults(RefRangeStart = 570282, RefRangeEnd = 570286, XrefRangeStart = 570282, XrefRangeEnd = 570286, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe DamagedObjectDollWeak()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DamagedObjectDollWeak.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004C72 RID: 19570 RVA: 0x001317E4 File Offset: 0x0012F9E4
	// Note: this type is marked as 'beforefieldinit'.
	static DamagedObjectDollWeak()
	{
		Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "DamagedObjectDollWeak");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr);
		DamagedObjectDollWeak.NativeFieldInfoPtr_DestoryEffect = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr, "DestoryEffect");
		DamagedObjectDollWeak.NativeFieldInfoPtr_g_Mat = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr, "g_Mat");
		DamagedObjectDollWeak.NativeMethodInfoPtr_Init_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr, 100668453);
		DamagedObjectDollWeak.NativeMethodInfoPtr_SetDamageColor_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr, 100668454);
		DamagedObjectDollWeak.NativeMethodInfoPtr_SetRecovery_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr, 100668455);
		DamagedObjectDollWeak.NativeMethodInfoPtr_SetTimeScale_Public_Virtual_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr, 100668456);
		DamagedObjectDollWeak.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr, 100668457);
	}

	// Token: 0x06004C73 RID: 19571 RVA: 0x000952E0 File Offset: 0x000934E0
	public DamagedObjectDollWeak(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B5C RID: 7004
	// (get) Token: 0x06004C74 RID: 19572 RVA: 0x001318A0 File Offset: 0x0012FAA0
	// (set) Token: 0x06004C75 RID: 19573 RVA: 0x001318D4 File Offset: 0x0012FAD4
	public unsafe ParticleSystem DestoryEffect
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DamagedObjectDollWeak.NativeFieldInfoPtr_DestoryEffect);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new ParticleSystem(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DamagedObjectDollWeak.NativeFieldInfoPtr_DestoryEffect), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001B5D RID: 7005
	// (get) Token: 0x06004C76 RID: 19574 RVA: 0x001318FC File Offset: 0x0012FAFC
	// (set) Token: 0x06004C77 RID: 19575 RVA: 0x00131930 File Offset: 0x0012FB30
	public unsafe Il2CppReferenceArray<Material> g_Mat
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DamagedObjectDollWeak.NativeFieldInfoPtr_g_Mat);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<Material>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DamagedObjectDollWeak.NativeFieldInfoPtr_g_Mat), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040032A4 RID: 12964
	private static readonly IntPtr NativeFieldInfoPtr_DestoryEffect;

	// Token: 0x040032A5 RID: 12965
	private static readonly IntPtr NativeFieldInfoPtr_g_Mat;

	// Token: 0x040032A6 RID: 12966
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Virtual_Void_0;

	// Token: 0x040032A7 RID: 12967
	private static readonly IntPtr NativeMethodInfoPtr_SetDamageColor_Protected_Virtual_Void_0;

	// Token: 0x040032A8 RID: 12968
	private static readonly IntPtr NativeMethodInfoPtr_SetRecovery_Public_Virtual_Void_0;

	// Token: 0x040032A9 RID: 12969
	private static readonly IntPtr NativeMethodInfoPtr_SetTimeScale_Public_Virtual_Void_Single_0;

	// Token: 0x040032AA RID: 12970
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
