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

// Token: 0x02000137 RID: 311
public class SceneItem : Il2CppSystem.Object
{
	// Token: 0x0600406B RID: 16491 RVA: 0x000FD2BC File Offset: 0x000FB4BC
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 530339, RefRangeEnd = 530340, XrefRangeStart = 530335, XrefRangeEnd = 530339, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SceneItem Copy()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SceneItem.NativeMethodInfoPtr_Copy_Public_SceneItem_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new SceneItem(intPtr3) : null;
	}

	// Token: 0x0600406C RID: 16492 RVA: 0x000FD314 File Offset: 0x000FB514
	[CallerCount(1642)]
	[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SceneItem()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SceneItem>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SceneItem.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600406D RID: 16493 RVA: 0x000FD360 File Offset: 0x000FB560
	// Note: this type is marked as 'beforefieldinit'.
	static SceneItem()
	{
		Il2CppClassPointerStore<SceneItem>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "SceneItem");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SceneItem>.NativeClassPtr);
		SceneItem.NativeFieldInfoPtr_Type = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SceneItem>.NativeClassPtr, "Type");
		SceneItem.NativeFieldInfoPtr_Position = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SceneItem>.NativeClassPtr, "Position");
		SceneItem.NativeMethodInfoPtr_Copy_Public_SceneItem_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneItem>.NativeClassPtr, 100667196);
		SceneItem.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SceneItem>.NativeClassPtr, 100667197);
	}

	// Token: 0x0600406E RID: 16494 RVA: 0x0000A688 File Offset: 0x00008888
	public SceneItem(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001800 RID: 6144
	// (get) Token: 0x0600406F RID: 16495 RVA: 0x000FD3E0 File Offset: 0x000FB5E0
	// (set) Token: 0x06004070 RID: 16496 RVA: 0x000FD408 File Offset: 0x000FB608
	public unsafe ItemSystem.ItemType Type
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneItem.NativeFieldInfoPtr_Type);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneItem.NativeFieldInfoPtr_Type)) = value;
		}
	}

	// Token: 0x17001801 RID: 6145
	// (get) Token: 0x06004071 RID: 16497 RVA: 0x000FD42C File Offset: 0x000FB62C
	// (set) Token: 0x06004072 RID: 16498 RVA: 0x000FD454 File Offset: 0x000FB654
	public unsafe Vector3 Position
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneItem.NativeFieldInfoPtr_Position);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SceneItem.NativeFieldInfoPtr_Position)) = value;
		}
	}

	// Token: 0x040029DA RID: 10714
	private static readonly IntPtr NativeFieldInfoPtr_Type;

	// Token: 0x040029DB RID: 10715
	private static readonly IntPtr NativeFieldInfoPtr_Position;

	// Token: 0x040029DC RID: 10716
	private static readonly IntPtr NativeMethodInfoPtr_Copy_Public_SceneItem_0;

	// Token: 0x040029DD RID: 10717
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
