summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Buff/XBuffAddEventArgs.cs
blob: bc8c76f96357f61dae812b06dc6b607ca4a6cfba (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 XBuffAddEventArgs : XEventArgs
	{
		public BuffDesc xBuffDesc;

		public bool xEffectImm;

		public XBuffAddEventArgs()
		{
			this._eDefine = XEventDefine.XEvent_BuffAdd;
			this.xBuffDesc.Reset();
			this.xEffectImm = false;
		}

		public override void Recycle()
		{
			base.Recycle();
			this.xBuffDesc.Reset();
			this.xEffectImm = false;
			XEventPool<XBuffAddEventArgs>.Recycle(this);
		}
	}
}