using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000356 RID: 854
[Token(Token = "0x2000356")]
public class PlayerItem
{
	// Token: 0x170001C7 RID: 455
	// (get) Token: 0x0600208A RID: 8330 RVA: 0x0004D4E4 File Offset: 0x0004B6E4
	[Token(Token = "0x170001C7")]
	private GameSave GameSave
	{
		[Token(Token = "0x600208A")]
		[Address(RVA = "0x134A0A0", Offset = "0x13490A0", VA = "0x18134A0A0")]
		get
		{
			return Game.GameSave;
		}
	}

	// Token: 0x0600208B RID: 8331 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600208B")]
	[Address(RVA = "0x1347870", Offset = "0x1346870", VA = "0x181347870")]
	public void Start(WizardGirlManage source, PlayerEffectPlay effect, PlayerSound sound)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600208C RID: 8332 RVA: 0x0004D4F8 File Offset: 0x0004B6F8
	[Token(Token = "0x600208C")]
	[Address(RVA = "0x1348580", Offset = "0x1347580", VA = "0x181348580")]
	public void UpdateSkin(NobetaSkin skin)
	{
		Transform transform = Common.FindChild(skin.transform, "Bip001 R Hand");
		this.g_ItemModeRoot = transform;
		if (this.handItemAppearance)
		{
			Transform transform2 = this.handItemAppearance.transform;
			Transform transform3 = this.g_ItemModeRoot;
			transform2.parentInternal = transform3;
		}
	}

	// Token: 0x0600208D RID: 8333 RVA: 0x0004D54C File Offset: 0x0004B74C
	[Token(Token = "0x600208D")]
	[Address(RVA = "0x1348670", Offset = "0x1347670", VA = "0x181348670")]
	public void Update(float fDeltaTime)
	{
		float num = this.g_fDefenseTimeVal;
		int num2 = 0;
		if (num > (float)num2 || this.g_fDefense > (float)num2)
		{
			this.g_fDefenseTimeVal = num;
			PlayerEffectPlay playerEffectPlay = this.effect;
			this.g_fDefense = 0f;
			playerEffectPlay.g_DefenseUsingSuccessBody.Stop(3f);
			this.g_Sound.StopDefenseLoop();
			return;
		}
	}

	// Token: 0x0600208E RID: 8334 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600208E")]
	[Address(RVA = "0x13460F0", Offset = "0x13450F0", VA = "0x1813460F0")]
	public bool PickUp()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600208F RID: 8335 RVA: 0x0004D5AC File Offset: 0x0004B7AC
	[Token(Token = "0x600208F")]
	[Address(RVA = "0xCA4550", Offset = "0xCA3550", VA = "0x180CA4550")]
	public int GetPropertyID()
	{
		return this.g_iPropertyID;
	}

	// Token: 0x06002090 RID: 8336 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002090")]
	[Address(RVA = "0x1343D90", Offset = "0x1342D90", VA = "0x181343D90")]
	public bool BuyItem(ItemSystem.ItemType Type)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002091 RID: 8337 RVA: 0x0004D5C0 File Offset: 0x0004B7C0
	[Token(Token = "0x6002091")]
	[Address(RVA = "0x1345C60", Offset = "0x1344C60", VA = "0x181345C60")]
	private string GetMagicLevelSuffix(int value, int maxLevel)
	{
		if (value == maxLevel)
		{
			string text = Game.<UISystemText>k__BackingField.GetText(322);
			return " " + text;
		}
		string text2 = Game.<UISystemText>k__BackingField.GetText(321);
		return string.Format(" {0}{1}", text2, text2);
	}

	// Token: 0x06002092 RID: 8338 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002092")]
	[Address(RVA = "0x1345E80", Offset = "0x1344E80", VA = "0x181345E80")]
	public bool IsVacancy(Item It)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002093 RID: 8339 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002093")]
	[Address(RVA = "0x1346020", Offset = "0x1345020", VA = "0x181346020")]
	public bool IsVacancy()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002094 RID: 8340 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002094")]
	[Address(RVA = "0x1349F40", Offset = "0x1348F40", VA = "0x181349F40")]
	public bool UseItem(int iIndex)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002095 RID: 8341 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002095")]
	[Address(RVA = "0x1348700", Offset = "0x1347700", VA = "0x181348700")]
	public void UseItemSuccess()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002096 RID: 8342 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002096")]
	[Address(RVA = "0x1347550", Offset = "0x1346550", VA = "0x181347550")]
	public void ShowHandItem()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002097 RID: 8343 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002097")]
	[Address(RVA = "0x1344EE0", Offset = "0x1343EE0", VA = "0x181344EE0")]
	public void CloseHandItem()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002098 RID: 8344 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002098")]
	[Address(RVA = "0x1345BE0", Offset = "0x1344BE0", VA = "0x181345BE0")]
	public bool DiscardItem(int iIndex)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06002099 RID: 8345 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6002099")]
	[Address(RVA = "0x1345010", Offset = "0x1344010", VA = "0x181345010")]
	public void DiscardItemSuccess()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600209A RID: 8346 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600209A")]
	[Address(RVA = "0x13433A0", Offset = "0x13423A0", VA = "0x1813433A0")]
	public bool BeHit()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600209B RID: 8347 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600209B")]
	[Address(RVA = "0x1345E30", Offset = "0x1344E30", VA = "0x181345E30")]
	public ItemSystem.ItemType GetSelectItemType(int iIndex)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600209C RID: 8348 RVA: 0x0004D610 File Offset: 0x0004B810
	[Token(Token = "0x600209C")]
	[Address(RVA = "0x33F2F0", Offset = "0x33E2F0", VA = "0x18033F2F0")]
	public ItemSystem.ItemType[] GetHoldItem()
	{
		return this.g_HoldItem;
	}

	// Token: 0x0600209D RID: 8349 RVA: 0x0004D624 File Offset: 0x0004B824
	[Token(Token = "0x600209D")]
	[Address(RVA = "0x1346080", Offset = "0x1345080", VA = "0x181346080")]
	public void LoadHoldItem(ItemSystem.ItemType[] HoldItem)
	{
		int num = 0;
		ItemSystem.ItemType[] array = this.g_HoldItem;
		ItemSystem.ItemType itemType = HoldItem[num];
		num++;
		array[0] = itemType;
	}

	// Token: 0x0600209E RID: 8350 RVA: 0x0004D654 File Offset: 0x0004B854
	[Token(Token = "0x600209E")]
	[Address(RVA = "0x435260", Offset = "0x434260", VA = "0x180435260")]
	public ItemSystem.ItemType GetUsingItem()
	{
		return this.g_ItemUsing;
	}

	// Token: 0x0600209F RID: 8351 RVA: 0x0004D668 File Offset: 0x0004B868
	[Token(Token = "0x600209F")]
	[Address(RVA = "0x3ED9B0", Offset = "0x3EC9B0", VA = "0x1803ED9B0")]
	public Item GetItemData()
	{
		return this.g_Item;
	}

	// Token: 0x060020A0 RID: 8352 RVA: 0x0004D67C File Offset: 0x0004B87C
	[Token(Token = "0x60020A0")]
	[Address(RVA = "0xA48400", Offset = "0xA47400", VA = "0x180A48400")]
	public int GetItemSizeMax()
	{
		return 8;
	}

	// Token: 0x060020A1 RID: 8353 RVA: 0x0004D68C File Offset: 0x0004B88C
	[Token(Token = "0x60020A1")]
	[Address(RVA = "0x4755D0", Offset = "0x4745D0", VA = "0x1804755D0")]
	public int GetItemSize()
	{
		return this.g_iItemSize;
	}

	// Token: 0x060020A2 RID: 8354 RVA: 0x0004D6A0 File Offset: 0x0004B8A0
	[Token(Token = "0x60020A2")]
	[Address(RVA = "0x475650", Offset = "0x474650", VA = "0x180475650")]
	public void LoadItemSize(int iItemSize)
	{
		this.g_iItemSize = iItemSize;
	}

	// Token: 0x060020A3 RID: 8355 RVA: 0x0004D6B4 File Offset: 0x0004B8B4
	[Token(Token = "0x60020A3")]
	[Address(RVA = "0x1345C50", Offset = "0x1344C50", VA = "0x181345C50")]
	public float GetDefense()
	{
		return this.g_fDefense;
	}

	// Token: 0x060020A4 RID: 8356 RVA: 0x0004D6C8 File Offset: 0x0004B8C8
	[Token(Token = "0x60020A4")]
	[Address(RVA = "0x134A080", Offset = "0x1349080", VA = "0x18134A080")]
	public PlayerItem()
	{
	}

	// Token: 0x04002A63 RID: 10851
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x4002A63")]
	private WizardGirlManage source;

	// Token: 0x04002A64 RID: 10852
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002A64")]
	private Transform sourceRt;

	// Token: 0x04002A65 RID: 10853
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002A65")]
	private PlayerEffectPlay effect;

	// Token: 0x04002A66 RID: 10854
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4002A66")]
	private int g_iItemSize = (int)((ulong)4L);

	// Token: 0x04002A67 RID: 10855
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4002A67")]
	private ItemSystem.ItemType[] g_HoldItem;

	// Token: 0x04002A68 RID: 10856
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4002A68")]
	private int g_iItemUsingIndex = (int)((ulong)4294967295L);

	// Token: 0x04002A69 RID: 10857
	[FieldOffset(Offset = "0x3C")]
	[Token(Token = "0x4002A69")]
	private ItemSystem.ItemType g_ItemUsing;

	// Token: 0x04002A6A RID: 10858
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4002A6A")]
	private Transform g_ItemModeRoot;

	// Token: 0x04002A6B RID: 10859
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4002A6B")]
	private GameObject g_HPCurse;

	// Token: 0x04002A6C RID: 10860
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x4002A6C")]
	private GameObject g_MPCurse;

	// Token: 0x04002A6D RID: 10861
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x4002A6D")]
	private GameObject g_HPCure;

	// Token: 0x04002A6E RID: 10862
	[FieldOffset(Offset = "0x60")]
	[Token(Token = "0x4002A6E")]
	private GameObject g_MPCure;

	// Token: 0x04002A6F RID: 10863
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x4002A6F")]
	private GameObject g_HPMaxAdd;

	// Token: 0x04002A70 RID: 10864
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x4002A70")]
	private GameObject g_MPMaxAdd;

	// Token: 0x04002A71 RID: 10865
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x4002A71")]
	private GameObject g_SPMaxAdd;

	// Token: 0x04002A72 RID: 10866
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x4002A72")]
	private GameObject g_BagMaxAdd;

	// Token: 0x04002A73 RID: 10867
	[FieldOffset(Offset = "0x88")]
	[Token(Token = "0x4002A73")]
	private GameObject g_HPCureM;

	// Token: 0x04002A74 RID: 10868
	[FieldOffset(Offset = "0x90")]
	[Token(Token = "0x4002A74")]
	private GameObject g_HPCureB;

	// Token: 0x04002A75 RID: 10869
	[FieldOffset(Offset = "0x98")]
	[Token(Token = "0x4002A75")]
	private GameObject g_MPCureM;

	// Token: 0x04002A76 RID: 10870
	[FieldOffset(Offset = "0xA0")]
	[Token(Token = "0x4002A76")]
	private GameObject g_MPCureB;

	// Token: 0x04002A77 RID: 10871
	[FieldOffset(Offset = "0xA8")]
	[Token(Token = "0x4002A77")]
	private GameObject g_Defense;

	// Token: 0x04002A78 RID: 10872
	[FieldOffset(Offset = "0xB0")]
	[Token(Token = "0x4002A78")]
	private GameObject g_DefenseM;

	// Token: 0x04002A79 RID: 10873
	[FieldOffset(Offset = "0xB8")]
	[Token(Token = "0x4002A79")]
	private GameObject g_DefenseB;

	// Token: 0x04002A7A RID: 10874
	[FieldOffset(Offset = "0xC0")]
	[Token(Token = "0x4002A7A")]
	private GameObject g_Mysterious;

	// Token: 0x04002A7B RID: 10875
	[FieldOffset(Offset = "0xC8")]
	[Token(Token = "0x4002A7B")]
	private GameObject g_MysteriousM;

	// Token: 0x04002A7C RID: 10876
	[FieldOffset(Offset = "0xD0")]
	[Token(Token = "0x4002A7C")]
	private GameObject g_MysteriousB;

	// Token: 0x04002A7D RID: 10877
	[FieldOffset(Offset = "0xD8")]
	[Token(Token = "0x4002A7D")]
	private GameObject g_Holy;

	// Token: 0x04002A7E RID: 10878
	[FieldOffset(Offset = "0xE0")]
	[Token(Token = "0x4002A7E")]
	private GameObject g_HolyM;

	// Token: 0x04002A7F RID: 10879
	[FieldOffset(Offset = "0xE8")]
	[Token(Token = "0x4002A7F")]
	private GameObject g_HolyB;

	// Token: 0x04002A80 RID: 10880
	[FieldOffset(Offset = "0xF0")]
	[Token(Token = "0x4002A80")]
	private Item g_Item;

	// Token: 0x04002A81 RID: 10881
	[Token(Token = "0x4002A81")]
	private const float g_fDefenseTime = 60f;

	// Token: 0x04002A82 RID: 10882
	[FieldOffset(Offset = "0xF8")]
	[Token(Token = "0x4002A82")]
	private float g_fDefenseTimeVal;

	// Token: 0x04002A83 RID: 10883
	[FieldOffset(Offset = "0xFC")]
	[Token(Token = "0x4002A83")]
	private float g_fDefense;

	// Token: 0x04002A84 RID: 10884
	[FieldOffset(Offset = "0x100")]
	[Token(Token = "0x4002A84")]
	private int g_iPropertyID;

	// Token: 0x04002A85 RID: 10885
	[FieldOffset(Offset = "0x108")]
	[Token(Token = "0x4002A85")]
	private PlayerSound g_Sound;

	// Token: 0x04002A86 RID: 10886
	[FieldOffset(Offset = "0x110")]
	[Token(Token = "0x4002A86")]
	private Transform handItemRoot;

	// Token: 0x04002A87 RID: 10887
	[FieldOffset(Offset = "0x118")]
	[Token(Token = "0x4002A87")]
	private GameObject handItemAppearance;
}
