using System; using XUtliPoolLib; namespace XMainClient { internal class XAttackEventArgs : XEventArgs { public uint Identify; public XEntity Target = null; public int Slot = -1; public uint SyncSequence = 0u; public bool Demonstration = false; public XCameraEx AffectCamera = XSingleton.singleton.GameCamera; public float TimeScale = 1f; public XAttackEventArgs() { this._eDefine = XEventDefine.XEvent_Attack; } public override void Recycle() { this.Identify = 0u; this.Target = null; this.Slot = -1; this.Demonstration = false; this.AffectCamera = XSingleton.singleton.GameCamera; this.TimeScale = 1f; this.SyncSequence = 0u; base.Recycle(); base.Token = (XSingleton.singleton.UniqueToken ^ (long)DateTime.Now.Millisecond); XEventPool.Recycle(this); } } }