blob: 18df772ee717951726ba93a153013e3868fc572e (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
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<XScene>.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<XScene>.singleton.GameCamera;
this.TimeScale = 1f;
this.SyncSequence = 0u;
base.Recycle();
base.Token = (XSingleton<XCommon>.singleton.UniqueToken ^ (long)DateTime.Now.Millisecond);
XEventPool<XAttackEventArgs>.Recycle(this);
}
}
}
|