From f3b545aa2891f8f450531959bbe45aa7b927960c Mon Sep 17 00:00:00 2001
From: zst <5120900@qq.com>
Date: Wed, 10 Jul 2019 19:57:56 +0800
Subject: [PATCH 1/4] zst
---
.../CLEngine.Core/framework/SkillsObject.cs | 110 ++++++++++++++++++
1 file changed, 110 insertions(+)
create mode 100644 Engine/CLEngine.Core/framework/SkillsObject.cs
diff --git a/Engine/CLEngine.Core/framework/SkillsObject.cs b/Engine/CLEngine.Core/framework/SkillsObject.cs
new file mode 100644
index 0000000..eaf09e0
--- /dev/null
+++ b/Engine/CLEngine.Core/framework/SkillsObject.cs
@@ -0,0 +1,110 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace CLEngine.Core.framework
+{
+ class SkillsObject
+ {
+ private string name;
+ private string iconPath;
+ private float coolingTime;
+ private int useHp;
+ private int useMp;
+ private string description;
+ private int castingDistance;
+ private float castingSpeed;
+ ///
+ /// 技能名称
+ ///
+ public string Name
+ {
+ get { return name; }
+ set { name = value; }
+ }
+ ///
+ /// 技能图标路径
+ ///
+ public string IconPath
+ {
+ get { return iconPath; }
+ set { iconPath = value; }
+ }
+ ///
+ /// 技能冷却时间
+ ///
+ public float CoolingTime
+ {
+ get { return coolingTime; }
+ set { coolingTime = value; }
+ }
+ ///
+ /// 消耗Hp
+ ///
+ public int UseHp
+ {
+ get { return useHp; }
+ set { useHp = value; }
+ }
+ ///
+ /// 消耗Mp
+ ///
+ public int UseMp
+ {
+ get { return useMp; }
+ set { useMp = value; }
+ }
+ ///
+ /// 技能描述
+ ///
+ public string Description
+ {
+ get { return description; }
+ set { description = value; }
+ }
+ ///
+ /// 施法距离
+ ///
+ public int CastingDistance
+ {
+ get { return castingDistance; }
+ set { castingDistance = value; }
+ }
+ ///
+ /// 施法速度
+ ///
+ public float CastingSpeed
+ {
+ get { return castingSpeed; }
+ set { castingSpeed = value; }
+ }
+ ///
+ /// 技能类型
+ ///
+ public enum skillType
+ {
+ Consumable,
+ Bullet
+ }
+ ///
+ /// 目标类型
+ ///
+ public enum targetType
+ {
+ self,
+ enemy,
+ friendly
+ }
+ ///
+ /// 释放位置
+ ///
+ public enum releasePosition
+ {
+ self,
+ target,
+ mouse
+ }
+ }
+}
--
Gitee
From 574b9dadd1fd1ec3346536418d6c1b6cfcc07c61 Mon Sep 17 00:00:00 2001
From: zst <5120900@qq.com>
Date: Thu, 11 Jul 2019 12:16:43 +0800
Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Engine/CLEngine.Core/framework/SkillObject.cs | 115 ++++++++++++++++++
1 file changed, 115 insertions(+)
create mode 100644 Engine/CLEngine.Core/framework/SkillObject.cs
diff --git a/Engine/CLEngine.Core/framework/SkillObject.cs b/Engine/CLEngine.Core/framework/SkillObject.cs
new file mode 100644
index 0000000..98b5dc5
--- /dev/null
+++ b/Engine/CLEngine.Core/framework/SkillObject.cs
@@ -0,0 +1,115 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace CLEngine.Core.framework
+{
+#if WIN
+ [Serializable]
+#endif
+ [DataContract]
+ public class SkillObject
+ {
+ [DataMember]private string _name;
+ [DataMember]private string _iconPath;
+ [DataMember]private float _coolingTime;
+ [DataMember]private int _useHp;
+ [DataMember]private int _useMp;
+ [DataMember]private string _description;
+ [DataMember]private int _castingDistance;
+ [DataMember]private float _castingSpeed;
+ ///
+ /// 技能名称
+ ///
+ public string Name
+ {
+ get { return _name; }
+ set { _name = value; }
+ }
+ ///
+ /// 技能图标路径
+ ///
+ public string IconPath
+ {
+ get { return _iconPath; }
+ set { _iconPath = value; }
+ }
+ ///
+ /// 技能冷却时间
+ ///
+ public float CoolingTime
+ {
+ get { return _coolingTime; }
+ set { _coolingTime = value; }
+ }
+ ///
+ /// 消耗Hp
+ ///
+ public int UseHp
+ {
+ get { return _useHp; }
+ set { _useHp = value; }
+ }
+ ///
+ /// 消耗Mp
+ ///
+ public int UseMp
+ {
+ get { return _useMp; }
+ set { _useMp = value; }
+ }
+ ///
+ /// 技能描述
+ ///
+ public string Description
+ {
+ get { return _description; }
+ set { _description = value; }
+ }
+ ///
+ /// 施法距离
+ ///
+ public int CastingDistance
+ {
+ get { return _castingDistance; }
+ set { _castingDistance = value; }
+ }
+ ///
+ /// 施法速度
+ ///
+ public float CastingSpeed
+ {
+ get { return _castingSpeed; }
+ set { _castingSpeed = value; }
+ }
+ ///
+ /// 技能类型
+ ///
+ public enum SkillType
+ {
+ Consumable,
+ Bullet
+ }
+ ///
+ /// 目标类型
+ ///
+ public enum TargetType
+ {
+ Self,
+ Enemy,
+ Friendly
+ }
+ ///
+ /// 释放位置
+ ///
+ public enum ReleasePosition
+ {
+ Self,
+ Target,
+ Mouse
+ }
+ }
+}
--
Gitee
From b9367ab73101f9d0aba3661fd4e8165398e36f63 Mon Sep 17 00:00:00 2001
From: zst <5120900@qq.com>
Date: Thu, 11 Jul 2019 12:33:13 +0800
Subject: [PATCH 3/4] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8A=80=E8=83=BD?=
=?UTF-8?q?=E6=A8=A1=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Engine/CLEngine.Core/CLEngine.Core.csproj | 1 +
1 file changed, 1 insertion(+)
diff --git a/Engine/CLEngine.Core/CLEngine.Core.csproj b/Engine/CLEngine.Core/CLEngine.Core.csproj
index bc641c7..f222c5c 100644
--- a/Engine/CLEngine.Core/CLEngine.Core.csproj
+++ b/Engine/CLEngine.Core/CLEngine.Core.csproj
@@ -295,6 +295,7 @@
+
--
Gitee
From a40981c86e87749007a13ccedf969277b6de490e Mon Sep 17 00:00:00 2001
From: zst <5120900@qq.com>
Date: Thu, 11 Jul 2019 12:35:28 +0800
Subject: [PATCH 4/4] =?UTF-8?q?=E7=A7=BB=E9=99=A4skillsobject?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../CLEngine.Core/framework/SkillsObject.cs | 110 ------------------
1 file changed, 110 deletions(-)
delete mode 100644 Engine/CLEngine.Core/framework/SkillsObject.cs
diff --git a/Engine/CLEngine.Core/framework/SkillsObject.cs b/Engine/CLEngine.Core/framework/SkillsObject.cs
deleted file mode 100644
index eaf09e0..0000000
--- a/Engine/CLEngine.Core/framework/SkillsObject.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace CLEngine.Core.framework
-{
- class SkillsObject
- {
- private string name;
- private string iconPath;
- private float coolingTime;
- private int useHp;
- private int useMp;
- private string description;
- private int castingDistance;
- private float castingSpeed;
- ///
- /// 技能名称
- ///
- public string Name
- {
- get { return name; }
- set { name = value; }
- }
- ///
- /// 技能图标路径
- ///
- public string IconPath
- {
- get { return iconPath; }
- set { iconPath = value; }
- }
- ///
- /// 技能冷却时间
- ///
- public float CoolingTime
- {
- get { return coolingTime; }
- set { coolingTime = value; }
- }
- ///
- /// 消耗Hp
- ///
- public int UseHp
- {
- get { return useHp; }
- set { useHp = value; }
- }
- ///
- /// 消耗Mp
- ///
- public int UseMp
- {
- get { return useMp; }
- set { useMp = value; }
- }
- ///
- /// 技能描述
- ///
- public string Description
- {
- get { return description; }
- set { description = value; }
- }
- ///
- /// 施法距离
- ///
- public int CastingDistance
- {
- get { return castingDistance; }
- set { castingDistance = value; }
- }
- ///
- /// 施法速度
- ///
- public float CastingSpeed
- {
- get { return castingSpeed; }
- set { castingSpeed = value; }
- }
- ///
- /// 技能类型
- ///
- public enum skillType
- {
- Consumable,
- Bullet
- }
- ///
- /// 目标类型
- ///
- public enum targetType
- {
- self,
- enemy,
- friendly
- }
- ///
- /// 释放位置
- ///
- public enum releasePosition
- {
- self,
- target,
- mouse
- }
- }
-}
--
Gitee