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

// Token: 0x02000233 RID: 563
public class UIStaff : MonoBehaviour
{
	// Token: 0x0600513D RID: 20797 RVA: 0x00143AC4 File Offset: 0x00141CC4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552763, XrefRangeEnd = 552788, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Launch(float scrollUpDuration, Action onCompleted)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref scrollUpDuration;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(onCompleted);
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIStaff.NativeMethodInfoPtr_Launch_Public_Void_Single_Action_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600513E RID: 20798 RVA: 0x00143B30 File Offset: 0x00141D30
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552788, XrefRangeEnd = 552792, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateScrollerPos()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIStaff.NativeMethodInfoPtr_UpdateScrollerPos_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600513F RID: 20799 RVA: 0x00143B74 File Offset: 0x00141D74
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552792, XrefRangeEnd = 552810, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void ScrollUp(float duration)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref duration;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIStaff.NativeMethodInfoPtr_ScrollUp_Private_Void_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005140 RID: 20800 RVA: 0x00143BC8 File Offset: 0x00141DC8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552810, XrefRangeEnd = 552829, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void FadeOut(float duration, Action onCompleted)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref duration;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(onCompleted);
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIStaff.NativeMethodInfoPtr_FadeOut_Public_Void_Single_Action_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x06005142 RID: 20802 RVA: 0x00143C80 File Offset: 0x00141E80
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552829, XrefRangeEnd = 552831, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void _ScrollUp_b__7_0()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIStaff.NativeMethodInfoPtr__ScrollUp_b__7_0_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005143 RID: 20803 RVA: 0x00143CC4 File Offset: 0x00141EC4
	// Note: this type is marked as 'beforefieldinit'.
	static UIStaff()
	{
		Il2CppClassPointerStore<UIStaff>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UIStaff");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIStaff>.NativeClassPtr);
		UIStaff.NativeFieldInfoPtr_canvasGroup = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, "canvasGroup");
		UIStaff.NativeFieldInfoPtr_root = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, "root");
		UIStaff.NativeFieldInfoPtr_scroller = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, "scroller");
		UIStaff.NativeFieldInfoPtr_thanksLabel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, "thanksLabel");
		UIStaff.NativeFieldInfoPtr_onCompleted = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, "onCompleted");
		UIStaff.NativeMethodInfoPtr_Launch_Public_Void_Single_Action_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, 100668733);
		UIStaff.NativeMethodInfoPtr_UpdateScrollerPos_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, 100668734);
		UIStaff.NativeMethodInfoPtr_ScrollUp_Private_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, 100668735);
		UIStaff.NativeMethodInfoPtr_FadeOut_Public_Void_Single_Action_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, 100668736);
		UIStaff.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, 100668737);
		UIStaff.NativeMethodInfoPtr__ScrollUp_b__7_0_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, 100668738);
	}

	// Token: 0x06005144 RID: 20804 RVA: 0x0000351C File Offset: 0x0000171C
	public UIStaff(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001CFF RID: 7423
	// (get) Token: 0x06005145 RID: 20805 RVA: 0x00143DD0 File Offset: 0x00141FD0
	// (set) Token: 0x06005146 RID: 20806 RVA: 0x00143E04 File Offset: 0x00142004
	public unsafe CanvasGroup canvasGroup
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIStaff.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(UIStaff.NativeFieldInfoPtr_canvasGroup), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D00 RID: 7424
	// (get) Token: 0x06005147 RID: 20807 RVA: 0x00143E2C File Offset: 0x0014202C
	// (set) Token: 0x06005148 RID: 20808 RVA: 0x00143E60 File Offset: 0x00142060
	public unsafe RectTransform root
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIStaff.NativeFieldInfoPtr_root);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new RectTransform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIStaff.NativeFieldInfoPtr_root), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D01 RID: 7425
	// (get) Token: 0x06005149 RID: 20809 RVA: 0x00143E88 File Offset: 0x00142088
	// (set) Token: 0x0600514A RID: 20810 RVA: 0x00143EBC File Offset: 0x001420BC
	public unsafe RectTransform scroller
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIStaff.NativeFieldInfoPtr_scroller);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new RectTransform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIStaff.NativeFieldInfoPtr_scroller), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D02 RID: 7426
	// (get) Token: 0x0600514B RID: 20811 RVA: 0x00143EE4 File Offset: 0x001420E4
	// (set) Token: 0x0600514C RID: 20812 RVA: 0x00143F18 File Offset: 0x00142118
	public unsafe RectTransform thanksLabel
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIStaff.NativeFieldInfoPtr_thanksLabel);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new RectTransform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIStaff.NativeFieldInfoPtr_thanksLabel), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D03 RID: 7427
	// (get) Token: 0x0600514D RID: 20813 RVA: 0x00143F40 File Offset: 0x00142140
	// (set) Token: 0x0600514E RID: 20814 RVA: 0x00143F74 File Offset: 0x00142174
	public unsafe Action onCompleted
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIStaff.NativeFieldInfoPtr_onCompleted);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Action(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIStaff.NativeFieldInfoPtr_onCompleted), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040035CF RID: 13775
	private static readonly IntPtr NativeFieldInfoPtr_canvasGroup;

	// Token: 0x040035D0 RID: 13776
	private static readonly IntPtr NativeFieldInfoPtr_root;

	// Token: 0x040035D1 RID: 13777
	private static readonly IntPtr NativeFieldInfoPtr_scroller;

	// Token: 0x040035D2 RID: 13778
	private static readonly IntPtr NativeFieldInfoPtr_thanksLabel;

	// Token: 0x040035D3 RID: 13779
	private static readonly IntPtr NativeFieldInfoPtr_onCompleted;

	// Token: 0x040035D4 RID: 13780
	private static readonly IntPtr NativeMethodInfoPtr_Launch_Public_Void_Single_Action_0;

	// Token: 0x040035D5 RID: 13781
	private static readonly IntPtr NativeMethodInfoPtr_UpdateScrollerPos_Private_Void_0;

	// Token: 0x040035D6 RID: 13782
	private static readonly IntPtr NativeMethodInfoPtr_ScrollUp_Private_Void_Single_0;

	// Token: 0x040035D7 RID: 13783
	private static readonly IntPtr NativeMethodInfoPtr_FadeOut_Public_Void_Single_Action_0;

	// Token: 0x040035D8 RID: 13784
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x040035D9 RID: 13785
	private static readonly IntPtr NativeMethodInfoPtr__ScrollUp_b__7_0_Private_Void_0;

	// Token: 0x02000234 RID: 564
	[ObfuscatedName("UIStaff/<>c__DisplayClass8_0")]
	public sealed class __c__DisplayClass8_0 : Il2CppSystem.Object
	{
		// Token: 0x0600514F RID: 20815 RVA: 0x00143F9C File Offset: 0x0014219C
		[CallerCount(1642)]
		[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe __c__DisplayClass8_0()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UIStaff.__c__DisplayClass8_0>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIStaff.__c__DisplayClass8_0.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06005150 RID: 20816 RVA: 0x00143FE8 File Offset: 0x001421E8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void _FadeOut_b__0()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIStaff.__c__DisplayClass8_0.NativeMethodInfoPtr__FadeOut_b__0_Internal_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06005151 RID: 20817 RVA: 0x0014402C File Offset: 0x0014222C
		// Note: this type is marked as 'beforefieldinit'.
		static __c__DisplayClass8_0()
		{
			Il2CppClassPointerStore<UIStaff.__c__DisplayClass8_0>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<UIStaff>.NativeClassPtr, "<>c__DisplayClass8_0");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIStaff.__c__DisplayClass8_0>.NativeClassPtr);
			UIStaff.__c__DisplayClass8_0.NativeFieldInfoPtr_onCompleted = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIStaff.__c__DisplayClass8_0>.NativeClassPtr, "onCompleted");
			UIStaff.__c__DisplayClass8_0.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIStaff.__c__DisplayClass8_0>.NativeClassPtr, 100668739);
			UIStaff.__c__DisplayClass8_0.NativeMethodInfoPtr__FadeOut_b__0_Internal_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIStaff.__c__DisplayClass8_0>.NativeClassPtr, 100668740);
		}

		// Token: 0x06005152 RID: 20818 RVA: 0x0000A688 File Offset: 0x00008888
		public __c__DisplayClass8_0(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17001D04 RID: 7428
		// (get) Token: 0x06005153 RID: 20819 RVA: 0x00144094 File Offset: 0x00142294
		// (set) Token: 0x06005154 RID: 20820 RVA: 0x001440C8 File Offset: 0x001422C8
		public unsafe Action onCompleted
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIStaff.__c__DisplayClass8_0.NativeFieldInfoPtr_onCompleted);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Action(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIStaff.__c__DisplayClass8_0.NativeFieldInfoPtr_onCompleted), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x040035DA RID: 13786
		private static readonly IntPtr NativeFieldInfoPtr_onCompleted;

		// Token: 0x040035DB RID: 13787
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x040035DC RID: 13788
		private static readonly IntPtr NativeMethodInfoPtr__FadeOut_b__0_Internal_Void_0;
	}
}
