summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XUnloadEquipEventArgs.cs
blob: def307d582cf0aee314869683c117e48bd5c0fb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;

namespace XMainClient
{
	internal class XUnloadEquipEventArgs : XEventArgs
	{
		public int slot;

		public XItem item;

		public ItemType type;

		public XUnloadEquipEventArgs()
		{
			this._eDefine = XEventDefine.XEvent_UnloadEquip;
		}

		public override void Recycle()
		{
			base.Recycle();
			this.slot = 0;
			this.item = null;
			XEventPool<XUnloadEquipEventArgs>.Recycle(this);
		}
	}
}