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

// Token: 0x020001F8 RID: 504
public class ObjectPostion : SceneEvent
{
	// Token: 0x06004F0C RID: 20236 RVA: 0x0013B400 File Offset: 0x00139600
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572641, XrefRangeEnd = 572653, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OpenEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObjectPostion.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004F0D RID: 20237 RVA: 0x0013B450 File Offset: 0x00139650
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 569315, RefRangeEnd = 569320, XrefRangeStart = 569315, XrefRangeEnd = 569320, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe ObjectPostion()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObjectPostion>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObjectPostion.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004F0E RID: 20238 RVA: 0x0013B49C File Offset: 0x0013969C
	// Note: this type is marked as 'beforefieldinit'.
	static ObjectPostion()
	{
		Il2CppClassPointerStore<ObjectPostion>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ObjectPostion");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObjectPostion>.NativeClassPtr);
		ObjectPostion.NativeFieldInfoPtr_Object = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObjectPostion>.NativeClassPtr, "Object");
		ObjectPostion.NativeFieldInfoPtr_Target = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObjectPostion>.NativeClassPtr, "Target");
		ObjectPostion.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectPostion>.NativeClassPtr, 100668603);
		ObjectPostion.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectPostion>.NativeClassPtr, 100668604);
	}

	// Token: 0x06004F0F RID: 20239 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public ObjectPostion(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C3E RID: 7230
	// (get) Token: 0x06004F10 RID: 20240 RVA: 0x0013B51C File Offset: 0x0013971C
	// (set) Token: 0x06004F11 RID: 20241 RVA: 0x0013B550 File Offset: 0x00139750
	public unsafe Transform Object
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectPostion.NativeFieldInfoPtr_Object);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Transform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectPostion.NativeFieldInfoPtr_Object), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C3F RID: 7231
	// (get) Token: 0x06004F12 RID: 20242 RVA: 0x0013B578 File Offset: 0x00139778
	// (set) Token: 0x06004F13 RID: 20243 RVA: 0x0013B5AC File Offset: 0x001397AC
	public unsafe Transform Target
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectPostion.NativeFieldInfoPtr_Target);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Transform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectPostion.NativeFieldInfoPtr_Target), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003449 RID: 13385
	private static readonly IntPtr NativeFieldInfoPtr_Object;

	// Token: 0x0400344A RID: 13386
	private static readonly IntPtr NativeFieldInfoPtr_Target;

	// Token: 0x0400344B RID: 13387
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x0400344C RID: 13388
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
