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

// Token: 0x02000315 RID: 789
public class UIHitNumber : MonoBehaviour
{
	// Token: 0x060064C2 RID: 25794 RVA: 0x00197A1C File Offset: 0x00195C1C
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 598722, RefRangeEnd = 598723, XrefRangeStart = 598697, XrefRangeEnd = 598722, 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: 0x060064C3 RID: 25795 RVA: 0x00197A60 File Offset: 0x00195C60
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 598731, RefRangeEnd = 598732, XrefRangeStart = 598723, XrefRangeEnd = 598731, 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: 0x060064C4 RID: 25796 RVA: 0x00197ADC File Offset: 0x00195CDC
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x060064C5 RID: 25797 RVA: 0x00197B28 File Offset: 0x00195D28
	// 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, 100670592);
		UIHitNumber.NativeMethodInfoPtr_SetHitNumber_Public_Void_Int32_Vector3_Magic_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHitNumber>.NativeClassPtr, 100670593);
		UIHitNumber.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHitNumber>.NativeClassPtr, 100670594);
	}

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

	// Token: 0x170022B5 RID: 8885
	// (get) Token: 0x060064C7 RID: 25799 RVA: 0x00197BE4 File Offset: 0x00195DE4
	// (set) Token: 0x060064C8 RID: 25800 RVA: 0x00197C18 File Offset: 0x00195E18
	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: 0x170022B6 RID: 8886
	// (get) Token: 0x060064C9 RID: 25801 RVA: 0x00197C40 File Offset: 0x00195E40
	// (set) Token: 0x060064CA RID: 25802 RVA: 0x00197C68 File Offset: 0x00195E68
	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: 0x170022B7 RID: 8887
	// (get) Token: 0x060064CB RID: 25803 RVA: 0x00197C8C File Offset: 0x00195E8C
	// (set) Token: 0x060064CC RID: 25804 RVA: 0x00197CC0 File Offset: 0x00195EC0
	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: 0x170022B8 RID: 8888
	// (get) Token: 0x060064CD RID: 25805 RVA: 0x00197CE8 File Offset: 0x00195EE8
	// (set) Token: 0x060064CE RID: 25806 RVA: 0x00197D06 File Offset: 0x00195F06
	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: 0x040042DF RID: 17119
	private static readonly IntPtr NativeFieldInfoPtr_hitNumberPrefab;

	// Token: 0x040042E0 RID: 17120
	private static readonly IntPtr NativeFieldInfoPtr_hitNumberCount;

	// Token: 0x040042E1 RID: 17121
	private static readonly IntPtr NativeFieldInfoPtr_hitNumberElements;

	// Token: 0x040042E2 RID: 17122
	private static readonly IntPtr NativeFieldInfoPtr_HIT_NUMBER_LENGTH;

	// Token: 0x040042E3 RID: 17123
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x040042E4 RID: 17124
	private static readonly IntPtr NativeMethodInfoPtr_SetHitNumber_Public_Void_Int32_Vector3_Magic_0;

	// Token: 0x040042E5 RID: 17125
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
