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

// Token: 0x020001F7 RID: 503
public class NewItem : SceneEvent
{
	// Token: 0x06004F02 RID: 20226 RVA: 0x0013B1DC File Offset: 0x001393DC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572619, XrefRangeEnd = 572641, 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), NewItem.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004F03 RID: 20227 RVA: 0x0013B22C File Offset: 0x0013942C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe NewItem()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<NewItem>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NewItem.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004F04 RID: 20228 RVA: 0x0013B278 File Offset: 0x00139478
	// Note: this type is marked as 'beforefieldinit'.
	static NewItem()
	{
		Il2CppClassPointerStore<NewItem>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "NewItem");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<NewItem>.NativeClassPtr);
		NewItem.NativeFieldInfoPtr_ItemType = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NewItem>.NativeClassPtr, "ItemType");
		NewItem.NativeFieldInfoPtr_PropertyID = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NewItem>.NativeClassPtr, "PropertyID");
		NewItem.NativeFieldInfoPtr_Pos = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NewItem>.NativeClassPtr, "Pos");
		NewItem.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NewItem>.NativeClassPtr, 100668601);
		NewItem.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NewItem>.NativeClassPtr, 100668602);
	}

	// Token: 0x06004F05 RID: 20229 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public NewItem(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C3B RID: 7227
	// (get) Token: 0x06004F06 RID: 20230 RVA: 0x0013B30C File Offset: 0x0013950C
	// (set) Token: 0x06004F07 RID: 20231 RVA: 0x0013B334 File Offset: 0x00139534
	public unsafe ItemSystem.ItemType ItemType
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NewItem.NativeFieldInfoPtr_ItemType);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NewItem.NativeFieldInfoPtr_ItemType)) = value;
		}
	}

	// Token: 0x17001C3C RID: 7228
	// (get) Token: 0x06004F08 RID: 20232 RVA: 0x0013B358 File Offset: 0x00139558
	// (set) Token: 0x06004F09 RID: 20233 RVA: 0x0013B380 File Offset: 0x00139580
	public unsafe int PropertyID
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NewItem.NativeFieldInfoPtr_PropertyID);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NewItem.NativeFieldInfoPtr_PropertyID)) = value;
		}
	}

	// Token: 0x17001C3D RID: 7229
	// (get) Token: 0x06004F0A RID: 20234 RVA: 0x0013B3A4 File Offset: 0x001395A4
	// (set) Token: 0x06004F0B RID: 20235 RVA: 0x0013B3D8 File Offset: 0x001395D8
	public unsafe Transform Pos
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NewItem.NativeFieldInfoPtr_Pos);
			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(NewItem.NativeFieldInfoPtr_Pos), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003444 RID: 13380
	private static readonly IntPtr NativeFieldInfoPtr_ItemType;

	// Token: 0x04003445 RID: 13381
	private static readonly IntPtr NativeFieldInfoPtr_PropertyID;

	// Token: 0x04003446 RID: 13382
	private static readonly IntPtr NativeFieldInfoPtr_Pos;

	// Token: 0x04003447 RID: 13383
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003448 RID: 13384
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
