summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/BuffDesc.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/BuffDesc.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/BuffDesc.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/BuffDesc.cs b/Client/Assets/Scripts/XMainClient/BuffDesc.cs
new file mode 100644
index 00000000..c735a3e7
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/BuffDesc.cs
@@ -0,0 +1,31 @@
+using System;
+
+namespace XMainClient
+{
+ internal struct BuffDesc
+ {
+ public int BuffID;
+
+ public int BuffLevel;
+
+ public ulong CasterID;
+
+ public float DelayTime;
+
+ public float EffectTime;
+
+ public uint SkillID;
+
+ public static float DEFAULT_TIME = -1f;
+
+ public void Reset()
+ {
+ this.BuffID = 0;
+ this.BuffLevel = 0;
+ this.CasterID = 0UL;
+ this.DelayTime = 0f;
+ this.EffectTime = BuffDesc.DEFAULT_TIME;
+ this.SkillID = 0u;
+ }
+ }
+}