summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XSwapItemEventArgs.cs
blob: 612162b26140eb3b0e67b88b949a189950afc50b (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
27
using System;

namespace XMainClient
{
	internal class XSwapItemEventArgs : XEventArgs
	{
		public XItem itemNowOnBody;

		public XItem itemNowInBag;

		public int slot;

		public XSwapItemEventArgs()
		{
			this._eDefine = XEventDefine.XEvent_SwapItem;
		}

		public override void Recycle()
		{
			base.Recycle();
			this.itemNowOnBody = null;
			this.itemNowInBag = null;
			this.slot = 0;
			XEventPool<XSwapItemEventArgs>.Recycle(this);
		}
	}
}