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

// Token: 0x0200022C RID: 556
public class OnWillRenderObjectTest : MonoBehaviour
{
	// Token: 0x060050E2 RID: 20706 RVA: 0x00142364 File Offset: 0x00140564
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552364, XrefRangeEnd = 552390, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(OnWillRenderObjectTest.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x060050E4 RID: 20708 RVA: 0x001423F4 File Offset: 0x001405F4
	// Note: this type is marked as 'beforefieldinit'.
	static OnWillRenderObjectTest()
	{
		Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "OnWillRenderObjectTest");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr);
		OnWillRenderObjectTest.NativeFieldInfoPtr_uitest = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr, "uitest");
		OnWillRenderObjectTest.NativeFieldInfoPtr_im = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr, "im");
		OnWillRenderObjectTest.NativeFieldInfoPtr_g_fDeltaTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr, "g_fDeltaTime");
		OnWillRenderObjectTest.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr, 100668698);
		OnWillRenderObjectTest.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr, 100668699);
	}

	// Token: 0x060050E5 RID: 20709 RVA: 0x0000351C File Offset: 0x0000171C
	public OnWillRenderObjectTest(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001CEA RID: 7402
	// (get) Token: 0x060050E6 RID: 20710 RVA: 0x00142488 File Offset: 0x00140688
	// (set) Token: 0x060050E7 RID: 20711 RVA: 0x001424BC File Offset: 0x001406BC
	public unsafe RectTransform uitest
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OnWillRenderObjectTest.NativeFieldInfoPtr_uitest);
			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(OnWillRenderObjectTest.NativeFieldInfoPtr_uitest), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CEB RID: 7403
	// (get) Token: 0x060050E8 RID: 20712 RVA: 0x001424E4 File Offset: 0x001406E4
	// (set) Token: 0x060050E9 RID: 20713 RVA: 0x00142518 File Offset: 0x00140718
	public unsafe Image im
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OnWillRenderObjectTest.NativeFieldInfoPtr_im);
			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(OnWillRenderObjectTest.NativeFieldInfoPtr_im), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CEC RID: 7404
	// (get) Token: 0x060050EA RID: 20714 RVA: 0x00142540 File Offset: 0x00140740
	// (set) Token: 0x060050EB RID: 20715 RVA: 0x00142568 File Offset: 0x00140768
	public unsafe float g_fDeltaTime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OnWillRenderObjectTest.NativeFieldInfoPtr_g_fDeltaTime);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OnWillRenderObjectTest.NativeFieldInfoPtr_g_fDeltaTime)) = value;
		}
	}

	// Token: 0x04003597 RID: 13719
	private static readonly IntPtr NativeFieldInfoPtr_uitest;

	// Token: 0x04003598 RID: 13720
	private static readonly IntPtr NativeFieldInfoPtr_im;

	// Token: 0x04003599 RID: 13721
	private static readonly IntPtr NativeFieldInfoPtr_g_fDeltaTime;

	// Token: 0x0400359A RID: 13722
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x0400359B RID: 13723
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
