From cfcd0d70aeb4ba0ea80051b9833f46406ab48593 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 20 八月 2018 17:38:59 +0800
Subject: [PATCH] fix:神兽副本相关封包

---
 ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo.h   |   11 +++++++++++
 ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime.h      |   15 +++++++++++++++
 ServerPack/MapServerPack/HA7_Interaction/NPCInfoList.h           |    1 -
 ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo     |    0 
 ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime.des    |    1 +
 ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime        |    0 
 ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList            |    0 
 ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList.h          |   16 ++++++++++++++++
 ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo.des |    1 +
 ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList.des        |    1 +
 ServerPack/MapServerPack/HA3_Function/NPCIDCollectionCntInfo.h   |    1 -
 11 files changed, 45 insertions(+), 2 deletions(-)

diff --git a/ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo b/ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo
diff --git a/ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo.des b/ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo.des
new file mode 100644
index 0000000..7467c9f
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo.des
@@ -0,0 +1 @@
+A2 27 查询地图NPC数量信息 #tagCMQueryNPCCntInfo
diff --git a/ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo.h b/ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo.h
new file mode 100644
index 0000000..84e93d9
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA2_Interaction/QueryNPCCntInfo.h
@@ -0,0 +1,11 @@
+// A2 27 查询地图NPC数量信息 #tagCMQueryNPCCntInfo
+
+struct tagCMQueryNPCCntInfo
+{
+	tagHead		Head;
+	DWORD		MapID; // 目标地图ID
+	WORD		LineID; // 线路ID
+	BYTE		IsNoTimeLimit;//是否没有查询时间限制,默认有限制
+	BYTE		NPCIDListLen;
+	char		NPCIDList[NPCIDListLen]; // 需要查询的NPCID列表
+};
diff --git a/ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime b/ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime
diff --git a/ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime.des b/ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime.des
new file mode 100644
index 0000000..c4d7699
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime.des
@@ -0,0 +1 @@
+A9 04 通知神兽副本NPC刷新时间 #tagGCDogzNPCRefreshTime
diff --git a/ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime.h b/ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime.h
new file mode 100644
index 0000000..38f2892
--- /dev/null
+++ b/ServerPack/GameServerPack/HA9_Function/DogzNPCRefreshTime.h
@@ -0,0 +1,15 @@
+// A9 04 通知神兽副本NPC刷新时间 #tagGCDogzNPCRefreshTime
+
+struct    tagDogzTimeInfoObj
+{
+	DWORD		NPCID;				// npcid
+	DWORD		RefreshSecond;			// 刷新倒计时, 秒
+};
+
+struct    tagGCDogzNPCRefreshTime
+
+{
+	tagHead		Head;
+	BYTE		Cnt;			//信息个数
+	tagDogzTimeInfoObj	InfoList[Cnt];	//信息列表
+};
diff --git a/ServerPack/MapServerPack/HA3_Function/NPCIDCollectionCntInfo.h b/ServerPack/MapServerPack/HA3_Function/NPCIDCollectionCntInfo.h
index 6b505b3..f18b495 100644
--- a/ServerPack/MapServerPack/HA3_Function/NPCIDCollectionCntInfo.h
+++ b/ServerPack/MapServerPack/HA3_Function/NPCIDCollectionCntInfo.h
@@ -3,7 +3,6 @@
 
 struct	tagMCNPCIDCollectionCnt
 {
-	tagHead		Head;
 	DWORD		NPCID;	//NPCID
 	BYTE		CollectionCnt;	//已采集次数
 };
diff --git a/ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList b/ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList
diff --git a/ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList.des b/ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList.des
new file mode 100644
index 0000000..fd39988
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList.des
@@ -0,0 +1 @@
+A7 14 通知查询的NPC数量 #tagMCNPCCntList
diff --git a/ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList.h b/ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList.h
new file mode 100644
index 0000000..fa3a19e
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/MCNPCCntList.h
@@ -0,0 +1,16 @@
+// A7 14 通知查询的NPC数量 #tagMCNPCCntList
+
+struct    tagMCNPCCntInfo
+{
+	DWORD		NPCID;
+	DWORD		Cnt;
+};
+
+
+struct    tagMCNPCCntList
+{
+	tagHead		 Head;
+	DWORD		MapID;
+	BYTE		NPCInfoCnt;
+	tagMCNPCCntInfo	NPCInfoList[NPCInfoCnt];
+};
diff --git a/ServerPack/MapServerPack/HA7_Interaction/NPCInfoList.h b/ServerPack/MapServerPack/HA7_Interaction/NPCInfoList.h
index 7e229ce..fb4daf8 100644
--- a/ServerPack/MapServerPack/HA7_Interaction/NPCInfoList.h
+++ b/ServerPack/MapServerPack/HA7_Interaction/NPCInfoList.h
@@ -3,7 +3,6 @@
 struct    tagMCNPCInfo
 
 {
-	tagHead		 Head;
 	DWORD		ObjID;
 	DWORD		NPCID;
 	DWORD		NPCHP;

--
Gitblit v1.8.0