summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XCameraMotionEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XCameraMotionEventArgs.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/XCameraMotionEventArgs.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XCameraMotionEventArgs.cs b/Client/Assets/Scripts/XMainClient/XCameraMotionEventArgs.cs
new file mode 100644
index 00000000..6580213f
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/XCameraMotionEventArgs.cs
@@ -0,0 +1,28 @@
+using System;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class XCameraMotionEventArgs : XEventArgs
+ {
+ public XEntity Target = null;
+
+ public string Trigger = null;
+
+ public XCameraMotionData Motion = null;
+
+ public XCameraMotionEventArgs()
+ {
+ this._eDefine = XEventDefine.XEvent_CameraMotion;
+ }
+
+ public override void Recycle()
+ {
+ base.Recycle();
+ this.Motion = null;
+ this.Trigger = null;
+ this.Target = null;
+ XEventPool<XCameraMotionEventArgs>.Recycle(this);
+ }
+ }
+}