From 3c02bebf45ee47d999ab90abcd8b3cdb49fca9b7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 23 十月 2018 17:25:03 +0800
Subject: [PATCH] Add: 小助手相关封包
---
ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet.h | 20 ++++++++++++++++++++
ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet | 0
ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper.h | 12 ++++++++++++
ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet.des | 1 +
ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper | 0
ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper.des | 1 +
6 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper b/ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper
diff --git a/ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper.des b/ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper.des
new file mode 100644
index 0000000..5857586
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper.des
@@ -0,0 +1 @@
+A2 29 设置小助手 #tagCMSetLittleHelper
diff --git a/ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper.h b/ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper.h
new file mode 100644
index 0000000..0f4abe9
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA2_Interaction/SetLittleHelper.h
@@ -0,0 +1,12 @@
+// A2 29 设置小助手 #tagCMSetLittleHelper
+
+struct tagCMSetLittleHelper
+{
+ tagHead Head;
+ BYTE SetNum; // 托管功能设置编号1~20,每个编号对应的托管功能前端自定义
+ DWORD Value1; // 自定义值1
+ DWORD Value2; // 自定义值2
+ DWORD Value3; // 自定义值3
+ DWORD Value4; // 自定义值4
+ DWORD Value5; // 自定义值5
+};
diff --git a/ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet b/ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet
diff --git a/ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet.des b/ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet.des
new file mode 100644
index 0000000..a0cce30
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet.des
@@ -0,0 +1 @@
+A7 16 小助手设置 #tagMCLittleHelperSet
diff --git a/ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet.h b/ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet.h
new file mode 100644
index 0000000..c70ea9f
--- /dev/null
+++ b/ServerPack/MapServerPack/HA7_Interaction/LittleHelperSet.h
@@ -0,0 +1,20 @@
+// A7 16 小助手设置 #tagMCLittleHelperSet
+
+struct tagMCLittleHelperFuncSet
+
+{
+ BYTE SetNum; // 托管功能设置编号1~20,每个编号对应的托管功能前端自定义
+ DWORD Value1; // 自定义值1,如果存储的是勾选信息, 按二进制位存储代表是否勾选,支持31位,每位代表的含义前端自定义
+ DWORD Value2; // 自定义值2
+ DWORD Value3; // 自定义值3
+ DWORD Value4; // 自定义值4
+ DWORD Value5; // 自定义值5
+};
+
+struct tagMCLittleHelperSet
+
+{
+ tagHead Head;
+ BYTE FuncSetCount; // 托管功能设置数,暂支持20个
+ tagMCLittleHelperFuncSet FuncSetList[FuncSetCount]; // 托管功能设置列表
+};
--
Gitblit v1.8.0