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

// Token: 0x020001BF RID: 447
public class NewItem : SceneEvent
{
	// Token: 0x06004A01 RID: 18945 RVA: 0x00126618 File Offset: 0x00124818
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544704, XrefRangeEnd = 544726, 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: 0x06004A02 RID: 18946 RVA: 0x00126668 File Offset: 0x00124868
	[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: 0x06004A03 RID: 18947 RVA: 0x001266B4 File Offset: 0x001248B4
	// 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, 100668184);
		NewItem.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NewItem>.NativeClassPtr, 100668185);
	}

	// Token: 0x06004A04 RID: 18948 RVA: 0x00117370 File Offset: 0x00115570
	public NewItem(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001AC3 RID: 6851
	// (get) Token: 0x06004A05 RID: 18949 RVA: 0x00126748 File Offset: 0x00124948
	// (set) Token: 0x06004A06 RID: 18950 RVA: 0x00126770 File Offset: 0x00124970
	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: 0x17001AC4 RID: 6852
	// (get) Token: 0x06004A07 RID: 18951 RVA: 0x00126794 File Offset: 0x00124994
	// (set) Token: 0x06004A08 RID: 18952 RVA: 0x001267BC File Offset: 0x001249BC
	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: 0x17001AC5 RID: 6853
	// (get) Token: 0x06004A09 RID: 18953 RVA: 0x001267E0 File Offset: 0x001249E0
	// (set) Token: 0x06004A0A RID: 18954 RVA: 0x00126814 File Offset: 0x00124A14
	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: 0x040030E2 RID: 12514
	private static readonly IntPtr NativeFieldInfoPtr_ItemType;

	// Token: 0x040030E3 RID: 12515
	private static readonly IntPtr NativeFieldInfoPtr_PropertyID;

	// Token: 0x040030E4 RID: 12516
	private static readonly IntPtr NativeFieldInfoPtr_Pos;

	// Token: 0x040030E5 RID: 12517
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040030E6 RID: 12518
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
