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

// Token: 0x0200030A RID: 778
public class EnemyHpHandler : MonoBehaviour
{
	// Token: 0x17002274 RID: 8820
	// (get) Token: 0x060063F0 RID: 25584 RVA: 0x001943C8 File Offset: 0x001925C8
	public unsafe float Alpha
	{
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 598187, RefRangeEnd = 598188, XrefRangeStart = 598185, XrefRangeEnd = 598187, 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: 0x060063F1 RID: 25585 RVA: 0x00194418 File Offset: 0x00192618
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 598190, RefRangeEnd = 598192, XrefRangeStart = 598188, XrefRangeEnd = 598190, 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: 0x060063F2 RID: 25586 RVA: 0x0019446C File Offset: 0x0019266C
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 598194, RefRangeEnd = 598196, XrefRangeStart = 598192, XrefRangeEnd = 598194, 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: 0x060063F3 RID: 25587 RVA: 0x001944C0 File Offset: 0x001926C0
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 598200, RefRangeEnd = 598201, XrefRangeStart = 598196, XrefRangeEnd = 598200, 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: 0x060063F4 RID: 25588 RVA: 0x00194514 File Offset: 0x00192714
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 598201, XrefRangeEnd = 598205, 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: 0x060063F5 RID: 25589 RVA: 0x00194568 File Offset: 0x00192768
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 598207, RefRangeEnd = 598210, XrefRangeStart = 598205, XrefRangeEnd = 598207, 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: 0x060063F6 RID: 25590 RVA: 0x001945BC File Offset: 0x001927BC
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x060063F7 RID: 25591 RVA: 0x00194608 File Offset: 0x00192808
	// 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, 100670517);
		EnemyHpHandler.NativeMethodInfoPtr_UpdateHPBarScale_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100670518);
		EnemyHpHandler.NativeMethodInfoPtr_UpdateHPBarFrameScale_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100670519);
		EnemyHpHandler.NativeMethodInfoPtr_IncreaseTransparency_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100670520);
		EnemyHpHandler.NativeMethodInfoPtr_DecreaseTransparency_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100670521);
		EnemyHpHandler.NativeMethodInfoPtr_UpdateTransparency_Public_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100670522);
		EnemyHpHandler.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyHpHandler>.NativeClassPtr, 100670523);
	}

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

	// Token: 0x17002271 RID: 8817
	// (get) Token: 0x060063F9 RID: 25593 RVA: 0x00194700 File Offset: 0x00192900
	// (set) Token: 0x060063FA RID: 25594 RVA: 0x00194734 File Offset: 0x00192934
	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: 0x17002272 RID: 8818
	// (get) Token: 0x060063FB RID: 25595 RVA: 0x0019475C File Offset: 0x0019295C
	// (set) Token: 0x060063FC RID: 25596 RVA: 0x00194790 File Offset: 0x00192990
	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: 0x17002273 RID: 8819
	// (get) Token: 0x060063FD RID: 25597 RVA: 0x001947B8 File Offset: 0x001929B8
	// (set) Token: 0x060063FE RID: 25598 RVA: 0x001947EC File Offset: 0x001929EC
	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: 0x0400425C RID: 16988
	private static readonly IntPtr NativeFieldInfoPtr_canvasGroup;

	// Token: 0x0400425D RID: 16989
	private static readonly IntPtr NativeFieldInfoPtr_enemyHpBar;

	// Token: 0x0400425E RID: 16990
	private static readonly IntPtr NativeFieldInfoPtr_enemyHpBarFrame;

	// Token: 0x0400425F RID: 16991
	private static readonly IntPtr NativeMethodInfoPtr_get_Alpha_Public_get_Single_0;

	// Token: 0x04004260 RID: 16992
	private static readonly IntPtr NativeMethodInfoPtr_UpdateHPBarScale_Public_Void_Single_0;

	// Token: 0x04004261 RID: 16993
	private static readonly IntPtr NativeMethodInfoPtr_UpdateHPBarFrameScale_Public_Void_Single_0;

	// Token: 0x04004262 RID: 16994
	private static readonly IntPtr NativeMethodInfoPtr_IncreaseTransparency_Public_Void_Single_0;

	// Token: 0x04004263 RID: 16995
	private static readonly IntPtr NativeMethodInfoPtr_DecreaseTransparency_Public_Void_Single_0;

	// Token: 0x04004264 RID: 16996
	private static readonly IntPtr NativeMethodInfoPtr_UpdateTransparency_Public_Void_Single_0;

	// Token: 0x04004265 RID: 16997
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
