From 39a3f2c16f9b2321d53b73d4e59f007c8259d866 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 26 四月 2019 21:37:41 +0800
Subject: [PATCH] 6628 【2.0】【后端】查看玩家装备和查看玩家战力功能(增加玩家缓存相关包)

---
 ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult.h   |   10 ++++++++++
 MapServerToGameServer/PlayerCache/MGQueryPlayerCache.h              |    1 +
 MapServerToGameServer/PlayerCache/MGUpdatePlayerCache.h             |   41 +++++++++++++++++++++++++++++++++++------
 ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult.des |    1 +
 ClientPack/ClientToMapServer/CA2_Interaction/ViewPlayerInfo.h       |    1 +
 ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult     |    0 
 6 files changed, 48 insertions(+), 6 deletions(-)

diff --git a/ClientPack/ClientToMapServer/CA2_Interaction/ViewPlayerInfo.h b/ClientPack/ClientToMapServer/CA2_Interaction/ViewPlayerInfo.h
index dd54d7a..216f354 100644
--- a/ClientPack/ClientToMapServer/CA2_Interaction/ViewPlayerInfo.h
+++ b/ClientPack/ClientToMapServer/CA2_Interaction/ViewPlayerInfo.h
@@ -3,4 +3,5 @@
 {
 	tagHead		Head;
 	DWORD		PlayerID;
+	BYTE		EquipClassLV;	//大于0为查看指定境界阶装备信息,  0为查看默认信息
 };
diff --git a/MapServerToGameServer/PlayerCache/MGQueryPlayerCache.h b/MapServerToGameServer/PlayerCache/MGQueryPlayerCache.h
index 538cdbb..2f326a4 100644
--- a/MapServerToGameServer/PlayerCache/MGQueryPlayerCache.h
+++ b/MapServerToGameServer/PlayerCache/MGQueryPlayerCache.h
@@ -4,4 +4,5 @@
 	tagHead		Head;
 	DWORD		PlayerID;		//玩家ID
 	DWORD		FindPlayerID;	//要查询的玩家ID
+	BYTE		EquipClassLV;	//大于0为查看指定境界阶装备信息,  0为查看默认信息
 };
diff --git a/MapServerToGameServer/PlayerCache/MGUpdatePlayerCache.h b/MapServerToGameServer/PlayerCache/MGUpdatePlayerCache.h
index d96041d..4f395b3 100644
--- a/MapServerToGameServer/PlayerCache/MGUpdatePlayerCache.h
+++ b/MapServerToGameServer/PlayerCache/MGUpdatePlayerCache.h
@@ -1,15 +1,44 @@
 //04 01 地图同步玩家缓存数据到GameServer#tagMGUpdatePlayerCache
+
 struct	tagMGUpdatePlayerCache
 {
 	tagHead		Head;
 	DWORD		PlayerID;		//玩家ID
 	WORD		PlayerLV;		//玩家等级
-	DWORD		PropDataSize;
-	char		PropData[PropDataSize];	//属性记录
-	DWORD		ItemDataSize;
-	char		ItemData[ItemDataSize];	//物品记录
-	DWORD		PlusDataSize;
-	char		PlusData[PlusDataSize];	//扩展记录
 	BYTE		IsLogouting;		//本次是否为下线同步
 	DWORD		OffTime;		// 下线时间戳
+	WORD		PropDataSize;
+	char		PropData[PropDataSize];	//属性记录
+	WORD		PlusDataSize;
+	char		PlusData[PlusDataSize];	//扩展记录
+	WORD		ItemDataSize1;
+	char		ItemData1[ItemDataSize1];	//1阶装备数据
+	WORD		ItemDataSize2;
+	char		ItemData2[ItemDataSize2];
+	WORD		ItemDataSize3;
+	char		ItemData3[ItemDataSize3];
+	WORD		ItemDataSize4;
+	char		ItemData4[ItemDataSize4];
+	WORD		ItemDataSize5;
+	char		ItemData5[ItemDataSize5];
+	WORD		ItemDataSize6;
+	char		ItemData6[ItemDataSize6];
+	WORD		ItemDataSize7;
+	char		ItemData7[ItemDataSize7];
+	WORD		ItemDataSize8;
+	char		ItemData8[ItemDataSize8];
+	WORD		ItemDataSize9;
+	char		ItemData9[ItemDataSize9];
+	WORD		ItemDataSize10;
+	char		ItemData10[ItemDataSize10];
+	WORD		ItemDataSize11;
+	char		ItemData11[ItemDataSize11];
+	WORD		ItemDataSize12;
+	char		ItemData12[ItemDataSize12];
+	WORD		ItemDataSize13;
+	char		ItemData13[ItemDataSize13];
+	WORD		ItemDataSize14;
+	char		ItemData14[ItemDataSize14];
+	WORD		ItemDataSize15;
+	char		ItemData15[ItemDataSize15];
 };
diff --git a/ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult b/ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult
diff --git a/ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult.des b/ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult.des
new file mode 100644
index 0000000..05d4003
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult.des
@@ -0,0 +1 @@
+A7 19 查询玩家境界阶装备信息结果 #tagSCPlayerEquipCacheResult
diff --git a/ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult.h b/ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult.h
new file mode 100644
index 0000000..fb1deca
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/PlayerEquipCacheResult.h
@@ -0,0 +1,10 @@
+// A7 19 查询玩家境界阶装备信息结果 #tagSCPlayerEquipCacheResult
+
+struct	tagSCPlayerEquipCacheResult
+{
+	tagHead		Head;
+	DWORD		PlayerID;			//玩家ID
+	BYTE		EquipClassLV;
+	WORD		ItemDataSize;
+	char		ItemData[ItemDataSize];	//物品记录	
+};

--
Gitblit v1.8.0