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

// Token: 0x020002C8 RID: 712
public class UIHitNumber : MonoBehaviour
{
	// Token: 0x06005DEA RID: 24042 RVA: 0x0017B3B4 File Offset: 0x001795B4
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 568174, RefRangeEnd = 568175, XrefRangeStart = 568149, XrefRangeEnd = 568174, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Init()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIHitNumber.NativeMethodInfoPtr_Init_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005DEB RID: 24043 RVA: 0x0017B3F8 File Offset: 0x001795F8
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 568183, RefRangeEnd = 568184, XrefRangeStart = 568175, XrefRangeEnd = 568183, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void SetHitNumber(int iHitNumber, Vector3 v3Pos, PlayerEffectPlay.Magic iElement = PlayerEffectPlay.Magic.Null)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref iHitNumber;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref v3Pos;
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref iElement;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIHitNumber.NativeMethodInfoPtr_SetHitNumber_Public_Void_Int32_Vector3_Magic_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x06005DED RID: 24045 RVA: 0x0017B4C0 File Offset: 0x001796C0
	// Note: this type is marked as 'beforefieldinit'.
	static UIHitNumber()
	{
		Il2CppClassPointerStore<UIHitNumber>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UIHitNumber");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIHitNumber>.NativeClassPtr);
		UIHitNumber.NativeFieldInfoPtr_hitNumberPrefab = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIHitNumber>.NativeClassPtr, "hitNumberPrefab");
		UIHitNumber.NativeFieldInfoPtr_hitNumberCount = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIHitNumber>.NativeClassPtr, "hitNumberCount");
		UIHitNumber.NativeFieldInfoPtr_hitNumberElements = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIHitNumber>.NativeClassPtr, "hitNumberElements");
		UIHitNumber.NativeFieldInfoPtr_HIT_NUMBER_LENGTH = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIHitNumber>.NativeClassPtr, "HIT_NUMBER_LENGTH");
		UIHitNumber.NativeMethodInfoPtr_Init_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHitNumber>.NativeClassPtr, 100670016);
		UIHitNumber.NativeMethodInfoPtr_SetHitNumber_Public_Void_Int32_Vector3_Magic_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHitNumber>.NativeClassPtr, 100670017);
		UIHitNumber.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHitNumber>.NativeClassPtr, 100670018);
	}

	// Token: 0x06005DEE RID: 24046 RVA: 0x0000351C File Offset: 0x0000171C
	public UIHitNumber(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700209B RID: 8347
	// (get) Token: 0x06005DEF RID: 24047 RVA: 0x0017B57C File Offset: 0x0017977C
	// (set) Token: 0x06005DF0 RID: 24048 RVA: 0x0017B5B0 File Offset: 0x001797B0
	public unsafe GameObject hitNumberPrefab
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHitNumber.NativeFieldInfoPtr_hitNumberPrefab);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameObject(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHitNumber.NativeFieldInfoPtr_hitNumberPrefab), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700209C RID: 8348
	// (get) Token: 0x06005DF1 RID: 24049 RVA: 0x0017B5D8 File Offset: 0x001797D8
	// (set) Token: 0x06005DF2 RID: 24050 RVA: 0x0017B600 File Offset: 0x00179800
	public unsafe int hitNumberCount
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHitNumber.NativeFieldInfoPtr_hitNumberCount);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHitNumber.NativeFieldInfoPtr_hitNumberCount)) = value;
		}
	}

	// Token: 0x1700209D RID: 8349
	// (get) Token: 0x06005DF3 RID: 24051 RVA: 0x0017B624 File Offset: 0x00179824
	// (set) Token: 0x06005DF4 RID: 24052 RVA: 0x0017B658 File Offset: 0x00179858
	public unsafe Il2CppReferenceArray<UIJumpNumber> hitNumberElements
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHitNumber.NativeFieldInfoPtr_hitNumberElements);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<UIJumpNumber>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHitNumber.NativeFieldInfoPtr_hitNumberElements), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700209E RID: 8350
	// (get) Token: 0x06005DF5 RID: 24053 RVA: 0x0017B680 File Offset: 0x00179880
	// (set) Token: 0x06005DF6 RID: 24054 RVA: 0x0017B69E File Offset: 0x0017989E
	public unsafe static int HIT_NUMBER_LENGTH
	{
		get
		{
			int num;
			IL2CPP.il2cpp_field_static_get_value(UIHitNumber.NativeFieldInfoPtr_HIT_NUMBER_LENGTH, (void*)(&num));
			return num;
		}
		set
		{
			IL2CPP.il2cpp_field_static_set_value(UIHitNumber.NativeFieldInfoPtr_HIT_NUMBER_LENGTH, (void*)(&value));
		}
	}

	// Token: 0x04003E31 RID: 15921
	private static readonly IntPtr NativeFieldInfoPtr_hitNumberPrefab;

	// Token: 0x04003E32 RID: 15922
	private static readonly IntPtr NativeFieldInfoPtr_hitNumberCount;

	// Token: 0x04003E33 RID: 15923
	private static readonly IntPtr NativeFieldInfoPtr_hitNumberElements;

	// Token: 0x04003E34 RID: 15924
	private static readonly IntPtr NativeFieldInfoPtr_HIT_NUMBER_LENGTH;

	// Token: 0x04003E35 RID: 15925
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x04003E36 RID: 15926
	private static readonly IntPtr NativeMethodInfoPtr_SetHitNumber_Public_Void_Int32_Vector3_Magic_0;

	// Token: 0x04003E37 RID: 15927
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
