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

// Token: 0x020002BD RID: 701
public class EnemyHpHandler : MonoBehaviour
{
	// Token: 0x1700205A RID: 8282
	// (get) Token: 0x06005D18 RID: 23832 RVA: 0x00177D60 File Offset: 0x00175F60
	public unsafe float Alpha
	{
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 567639, RefRangeEnd = 567640, XrefRangeStart = 567637, XrefRangeEnd = 567639, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		get
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EnemyHpHandler.NativeMethodInfoPtr_get_Alpha_Public_get_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}
	}

	// Token: 0x06005D19 RID: 23833 RVA: 0x00177DB0 File Offset: 0x00175FB0
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 567642, RefRangeEnd = 567644, XrefRangeStart = 567640, XrefRangeEnd = 567642, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateHPBarScale(float widthScale)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref widthScale;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EnemyHpHandler.NativeMethodInfoPtr_UpdateHPBarScale_Public_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005D1A RID: 23834 RVA: 0x00177E04 File Offset: 0x00176004
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 567646, RefRangeEnd = 567648, XrefRangeStart = 567644, XrefRangeEnd = 567646, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateHPBarFrameScale(float widthScale)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref widthScale;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EnemyHpHandler.NativeMethodInfoPtr_UpdateHPBarFrameScale_Public_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005D1B RID: 23835 RVA: 0x00177E58 File Offset: 0x00176058
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 567652, RefRangeEnd = 567653, XrefRangeStart = 567648, XrefRangeEnd = 567652, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void IncreaseTransparency(float deltaTime)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref deltaTime;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EnemyHpHandler.NativeMethodInfoPtr_IncreaseTransparency_Public_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005D1C RID: 23836 RVA: 0x00177EAC File Offset: 0x001760AC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 567653, XrefRangeEnd = 567657, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void DecreaseTransparency(float deltaTime)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref deltaTime;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EnemyHpHandler.NativeMethodInfoPtr_DecreaseTransparency_Public_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005D1D RID: 23837 RVA: 0x00177F00 File Offset: 0x00176100
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 567659, RefRangeEnd = 567662, XrefRangeStart = 567657, XrefRangeEnd = 567659, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateTransparency(float alpha)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref alpha;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EnemyHpHandler.NativeMethodInfoPtr_UpdateTransparency_Public_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005D1E RID: 23838 RVA: 0x00177F54 File Offset: 0x00176154
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe EnemyHpHandler()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EnemyHpHandler.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005D1F RID: 23839 RVA: 0x00177FA0 File Offset: 0x001761A0
	// Note: this type is marked as 'beforefieldinit'.
	static EnemyHpHandler()
	{
		Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "EnemyHpHandler");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr);
		EnemyHpHandler.NativeFieldInfoPtr_canvasGroup = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, "canvasGroup");
		EnemyHpHandler.NativeFieldInfoPtr_enemyHpBar = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, "enemyHpBar");
		EnemyHpHandler.NativeFieldInfoPtr_enemyHpBarFrame = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, "enemyHpBarFrame");
		EnemyHpHandler.NativeMethodInfoPtr_get_Alpha_Public_get_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100669941);
		EnemyHpHandler.NativeMethodInfoPtr_UpdateHPBarScale_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100669942);
		EnemyHpHandler.NativeMethodInfoPtr_UpdateHPBarFrameScale_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100669943);
		EnemyHpHandler.NativeMethodInfoPtr_IncreaseTransparency_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100669944);
		EnemyHpHandler.NativeMethodInfoPtr_DecreaseTransparency_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100669945);
		EnemyHpHandler.NativeMethodInfoPtr_UpdateTransparency_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100669946);
		EnemyHpHandler.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100669947);
	}

	// Token: 0x06005D20 RID: 23840 RVA: 0x0000351C File Offset: 0x0000171C
	public EnemyHpHandler(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002057 RID: 8279
	// (get) Token: 0x06005D21 RID: 23841 RVA: 0x00178098 File Offset: 0x00176298
	// (set) Token: 0x06005D22 RID: 23842 RVA: 0x001780CC File Offset: 0x001762CC
	public unsafe CanvasGroup canvasGroup
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyHpHandler.NativeFieldInfoPtr_canvasGroup);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new CanvasGroup(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyHpHandler.NativeFieldInfoPtr_canvasGroup), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002058 RID: 8280
	// (get) Token: 0x06005D23 RID: 23843 RVA: 0x001780F4 File Offset: 0x001762F4
	// (set) Token: 0x06005D24 RID: 23844 RVA: 0x00178128 File Offset: 0x00176328
	public unsafe Image enemyHpBar
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyHpHandler.NativeFieldInfoPtr_enemyHpBar);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Image(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyHpHandler.NativeFieldInfoPtr_enemyHpBar), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002059 RID: 8281
	// (get) Token: 0x06005D25 RID: 23845 RVA: 0x00178150 File Offset: 0x00176350
	// (set) Token: 0x06005D26 RID: 23846 RVA: 0x00178184 File Offset: 0x00176384
	public unsafe Image enemyHpBarFrame
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyHpHandler.NativeFieldInfoPtr_enemyHpBarFrame);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Image(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyHpHandler.NativeFieldInfoPtr_enemyHpBarFrame), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003DAE RID: 15790
	private static readonly IntPtr NativeFieldInfoPtr_canvasGroup;

	// Token: 0x04003DAF RID: 15791
	private static readonly IntPtr NativeFieldInfoPtr_enemyHpBar;

	// Token: 0x04003DB0 RID: 15792
	private static readonly IntPtr NativeFieldInfoPtr_enemyHpBarFrame;

	// Token: 0x04003DB1 RID: 15793
	private static readonly IntPtr NativeMethodInfoPtr_get_Alpha_Public_get_Single_0;

	// Token: 0x04003DB2 RID: 15794
	private static readonly IntPtr NativeMethodInfoPtr_UpdateHPBarScale_Public_Void_Single_0;

	// Token: 0x04003DB3 RID: 15795
	private static readonly IntPtr NativeMethodInfoPtr_UpdateHPBarFrameScale_Public_Void_Single_0;

	// Token: 0x04003DB4 RID: 15796
	private static readonly IntPtr NativeMethodInfoPtr_IncreaseTransparency_Public_Void_Single_0;

	// Token: 0x04003DB5 RID: 15797
	private static readonly IntPtr NativeMethodInfoPtr_DecreaseTransparency_Public_Void_Single_0;

	// Token: 0x04003DB6 RID: 15798
	private static readonly IntPtr NativeMethodInfoPtr_UpdateTransparency_Public_Void_Single_0;

	// Token: 0x04003DB7 RID: 15799
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
