From a9c2c6c3c2f62d4c4e05d9abacb799b8f48ae0f5 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 07 一月 2019 15:51:41 +0800
Subject: [PATCH] 5730 【后端】【1.5】时装功能开发(封包)

---
 ClientPack/ClientToMapServer/CA5_Function/CoatUp.h          |    2 +-
 ServerPack/MapServerPack/HB1_Role/ClothesCoatSkinState.h    |    6 +++---
 ClientPack/ClientToMapServer/CA5_Function/CoatDecompose.h   |    9 +++++++++
 ClientPack/ClientToMapServer/CA5_Function/CoatDecompose.des |    1 +
 ClientPack/ClientToMapServer/CA5_Function/CoatDecompose     |    0 
 5 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/ClientPack/ClientToMapServer/CA5_Function/CoatDecompose b/ClientPack/ClientToMapServer/CA5_Function/CoatDecompose
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/CoatDecompose
diff --git a/ClientPack/ClientToMapServer/CA5_Function/CoatDecompose.des b/ClientPack/ClientToMapServer/CA5_Function/CoatDecompose.des
new file mode 100644
index 0000000..0a78d1d
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/CoatDecompose.des
@@ -0,0 +1 @@
+A5 20 时装分解 #tagCMCoatDecompose
diff --git a/ClientPack/ClientToMapServer/CA5_Function/CoatDecompose.h b/ClientPack/ClientToMapServer/CA5_Function/CoatDecompose.h
new file mode 100644
index 0000000..ec25b14
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/CoatDecompose.h
@@ -0,0 +1,9 @@
+// A5 20 时装分解 #tagCMCoatDecompose
+
+struct	tagCMCoatDecompose
+{
+	tagHead		Head;
+	BYTE		Count;		//材料所在背包索引的数量
+	WORD		IndexList[Count];	//材料所在背包索引列表
+	DWORD		ItemIDList[Count];	//材料所在背包物品ID列表
+};
diff --git a/ClientPack/ClientToMapServer/CA5_Function/CoatUp.h b/ClientPack/ClientToMapServer/CA5_Function/CoatUp.h
index c4a2fc0..e816877 100644
--- a/ClientPack/ClientToMapServer/CA5_Function/CoatUp.h
+++ b/ClientPack/ClientToMapServer/CA5_Function/CoatUp.h
@@ -3,5 +3,5 @@
 struct	tagCMCoatUp
 {
 	tagHead		Head;
-	BYTE		CoatIndex; // 时装索引
+	DWORD		CoatIndex; // 时装索引
 };
diff --git a/ServerPack/MapServerPack/HB1_Role/ClothesCoatSkinState.h b/ServerPack/MapServerPack/HB1_Role/ClothesCoatSkinState.h
index 7406798..78e58dd 100644
--- a/ServerPack/MapServerPack/HB1_Role/ClothesCoatSkinState.h
+++ b/ServerPack/MapServerPack/HB1_Role/ClothesCoatSkinState.h
@@ -5,13 +5,13 @@
 	tagHead		 Head;
 	DWORD		CoatIndex;	//时装索引
 	BYTE		CoatLV;		//时装等级
-	DWORD		CoatExp;		//时装祝福值经验
 };
 
 struct	tagMCClothesCoatSkinState
 {
 	tagHead		Head;
-	DWORD		SkinOpenState;	//时装激活状态, 按索引表示激活状态
-	BYTE		CoatNum;		//时装个数
+	DWORD		CoatChestLV;		//时装柜等级
+	DWORD		CoatChestExp;		//时装柜经验
+	WORD		CoatNum;		//时装个数
 	tagMCClothesCoatLVInfo	CoatInfoList[CoatNum];	// 时装数据列表
 };

--
Gitblit v1.8.0