summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Skill/XSkillExternalBuffArgs.cs
blob: e1698ce098eae15d72afe77adfc466b227879360 (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
using System;

namespace XMainClient
{
	internal class XSkillExternalBuffArgs : XSkillExternalArgs
	{
		public BuffDesc xBuffDesc = default(BuffDesc);

		public XEntity xTarget;

		public XSkillExternalBuffArgs()
		{
			this.xBuffDesc.Reset();
			this.xTarget = null;
		}

		public override void Recycle()
		{
			this.xBuffDesc.Reset();
			this.xTarget = null;
			base.Recycle();
			XEventPool<XSkillExternalBuffArgs>.Recycle(this);
		}
	}
}