From 6df917e7060b6b274988647cc0c446c013bbe91b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 28 八月 2018 10:34:11 +0800
Subject: [PATCH] Add: 增加仙盟抢boss相关伤血封包; // A2 28 查询仙盟抢Boss伤血列表 #tagCMQueryFamilyBossHurt // A7 15 通知仙盟抢Boss伤血信息 #tagMCFamilyBossHurtList
---
ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList | 0
ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt.h | 9 +++++++++
ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList.h | 25 +++++++++++++++++++++++++
ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt | 0
ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt.des | 1 +
ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList.des | 1 +
6 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt b/ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt
diff --git a/ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt.des b/ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt.des
new file mode 100644
index 0000000..dd64795
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt.des
@@ -0,0 +1 @@
+A2 28 查询仙盟抢Boss伤血列表 #tagCMQueryFamilyBossHurt
diff --git a/ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt.h b/ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt.h
new file mode 100644
index 0000000..92a084a
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA2_Interaction/QueryFamilyBossHurt.h
@@ -0,0 +1,9 @@
+// A2 28 查询仙盟抢Boss伤血列表 #tagCMQueryFamilyBossHurt
+
+struct tagCMQueryFamilyBossHurt
+{
+ tagHead Head;
+ DWORD ObjID;
+ DWORD NPCID;
+ BYTE QueryType; // 0-实时仙盟伤血,1-历史仙盟伤血,2-实时玩家伤血,3-历史玩家伤血
+};
diff --git a/ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList b/ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList
diff --git a/ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList.des b/ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList.des
new file mode 100644
index 0000000..ec696ef
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList.des
@@ -0,0 +1 @@
+A7 15 通知仙盟抢Boss伤血信息 #tagMCFamilyBossHurtList
diff --git a/ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList.h b/ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList.h
new file mode 100644
index 0000000..8f78b9b
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/FamilyBossHurtList.h
@@ -0,0 +1,25 @@
+// A7 15 通知仙盟抢Boss伤血信息 #tagMCFamilyBossHurtList
+
+struct tagMCFamilyBossHurt
+
+{
+ DWORD FamilyID; // 所属仙盟ID
+ DWORD HurtID; // 伤血的ID, 根据伤血类型表示不同的ID, 如仙盟ID或玩家ID
+ BYTE NameLen;
+ char HurtName[NameLen];
+ DWORD HurtValue; // 累计伤血,求余1亿的值
+ DWORD HurtValueEx; // 累计伤血,整除1亿的值
+};
+
+
+struct tagMCFamilyBossHurtList
+
+{
+ tagHead Head;
+ DWORD ObjID;
+ DWORD NPCID;
+ BYTE HurtType; // 0-实时仙盟伤血,1-历史仙盟伤血,2-实时玩家伤血,3-历史玩家伤血
+ BYTE IsSort; // 是否排序过的,一般boss被击杀后会统一同步一次排序过的最终结果,其他情况下客户端自己排序
+ WORD HurtCount; // 伤血个数
+ tagMCFamilyBossHurt HurtList[HurtCount]; // 伤血列表
+};
--
Gitblit v1.8.0