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

// Token: 0x0200019A RID: 410
public class DamagedObjectDollWeak : DamageObject
{
	// Token: 0x06004778 RID: 18296 RVA: 0x0011CD80 File Offset: 0x0011AF80
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543130, XrefRangeEnd = 543150, 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: 0x06004779 RID: 18297 RVA: 0x0011CDD0 File Offset: 0x0011AFD0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543150, XrefRangeEnd = 543179, 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: 0x0600477A RID: 18298 RVA: 0x0011CE20 File Offset: 0x0011B020
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543179, XrefRangeEnd = 543193, 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: 0x0600477B RID: 18299 RVA: 0x0011CE80 File Offset: 0x0011B080
	[CallerCount(4)]
	[CachedScanResults(RefRangeStart = 542579, RefRangeEnd = 542583, XrefRangeStart = 542579, XrefRangeEnd = 542583, 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: 0x0600477C RID: 18300 RVA: 0x0011CECC File Offset: 0x0011B0CC
	// 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, 100668040);
		DamagedObjectDollWeak.NativeMethodInfoPtr_SetDamageColor_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr, 100668041);
		DamagedObjectDollWeak.NativeMethodInfoPtr_SetTimeScale_Public_Virtual_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr, 100668042);
		DamagedObjectDollWeak.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectDollWeak>.NativeClassPtr, 100668043);
	}

	// Token: 0x0600477D RID: 18301 RVA: 0x0008E204 File Offset: 0x0008C404
	public DamagedObjectDollWeak(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170019E7 RID: 6631
	// (get) Token: 0x0600477E RID: 18302 RVA: 0x0011CF74 File Offset: 0x0011B174
	// (set) Token: 0x0600477F RID: 18303 RVA: 0x0011CFA8 File Offset: 0x0011B1A8
	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: 0x170019E8 RID: 6632
	// (get) Token: 0x06004780 RID: 18304 RVA: 0x0011CFD0 File Offset: 0x0011B1D0
	// (set) Token: 0x06004781 RID: 18305 RVA: 0x0011D004 File Offset: 0x0011B204
	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: 0x04002F4B RID: 12107
	private static readonly IntPtr NativeFieldInfoPtr_DestoryEffect;

	// Token: 0x04002F4C RID: 12108
	private static readonly IntPtr NativeFieldInfoPtr_g_Mat;

	// Token: 0x04002F4D RID: 12109
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Virtual_Void_0;

	// Token: 0x04002F4E RID: 12110
	private static readonly IntPtr NativeMethodInfoPtr_SetDamageColor_Protected_Virtual_Void_0;

	// Token: 0x04002F4F RID: 12111
	private static readonly IntPtr NativeMethodInfoPtr_SetTimeScale_Public_Virtual_Void_Single_0;

	// Token: 0x04002F50 RID: 12112
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
