summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XAIEnableAI.cs
blob: d56a27e1fcc68f12fe513dd9f656840d950cd08c (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 XAIEnableAI : XEventArgs
	{
		public bool Enable;

		public bool Puppet;

		public XAIEnableAI()
		{
			this._eDefine = XEventDefine.XEvent_EnableAI;
			this.Enable = true;
			this.Puppet = true;
		}

		public override void Recycle()
		{
			base.Recycle();
			this.Enable = true;
			this.Puppet = true;
			XEventPool<XAIEnableAI>.Recycle(this);
		}
	}
}