summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XBubbleEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XBubbleEventArgs.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/XBubbleEventArgs.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XBubbleEventArgs.cs b/Client/Assets/Scripts/XMainClient/XBubbleEventArgs.cs
new file mode 100644
index 00000000..ce4f865d
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/XBubbleEventArgs.cs
@@ -0,0 +1,26 @@
+using System;
+
+namespace XMainClient
+{
+ internal class XBubbleEventArgs : XEventArgs
+ {
+ public string bubbletext { get; set; }
+
+ public float existtime { get; set; }
+
+ public string speaker { get; set; }
+
+ public XBubbleEventArgs()
+ {
+ this._eDefine = XEventDefine.XEvent_Bubble;
+ }
+
+ public override void Recycle()
+ {
+ this.bubbletext = null;
+ this.existtime = 0f;
+ base.Recycle();
+ XEventPool<XBubbleEventArgs>.Recycle(this);
+ }
+ }
+}