From eae9940927e84559605e21ddf7d6985ffbc39e4c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期日, 09 十月 2022 18:34:11 +0800
Subject: [PATCH] 9455 【越南】【后端】通天令

---
 ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint.h   |    7 +++
 ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing.des         |    1 
 ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo.h     |    8 ++++
 ServerPack/MapServerPack/HA3_Function/TongTianLingInfo                |    0 
 ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing.h           |    6 +++
 ServerPack/MapServerPack/HA3_Function/TongTianLingInfo.h              |   12 ++++++
 ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo       |    0 
 ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward.h      |    7 +++
 ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint.des |    1 
 ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward.des    |    1 
 ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo.des   |    1 
 ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing             |    0 
 ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward          |    0 
 ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward.h        |    8 ++++
 ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint     |    0 
 ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward.des      |    1 
 ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo.des   |    1 
 ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo.h     |   15 +++++++
 ServerPack/MapServerPack/HA3_Function/TongTianLingInfo.des            |    1 
 ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward        |    0 
 ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo       |    0 
 21 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing b/ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing
diff --git a/ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing.des b/ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing.des
new file mode 100644
index 0000000..57d8b33
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing.des
@@ -0,0 +1 @@
+A5 46 购买通天令 #tagCMBuyTongTianLing
diff --git a/ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing.h b/ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing.h
new file mode 100644
index 0000000..8bb1dd4
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/BuyTongTianLing.h
@@ -0,0 +1,6 @@
+// A5 46 购买通天令 #tagCMBuyTongTianLing
+
+struct	tagCMBuyTongTianLing
+{
+	tagHead		Head;
+};
diff --git a/ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint b/ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint
diff --git a/ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint.des b/ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint.des
new file mode 100644
index 0000000..51839fc
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint.des
@@ -0,0 +1 @@
+A5 45 兑换通天令等级经验积分点 #tagCMExchangeTongTianLVPoint
diff --git a/ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint.h b/ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint.h
new file mode 100644
index 0000000..b789429
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/ExchangeTongTianLVPoint.h
@@ -0,0 +1,7 @@
+// A5 45 兑换通天令等级经验积分点 #tagCMExchangeTongTianLVPoint
+
+struct	tagCMExchangeTongTianLVPoint
+{
+	tagHead		Head;
+	DWORD		ExchangePoint;	// 兑换点数
+};
diff --git a/ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward
diff --git a/ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward.des b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward.des
new file mode 100644
index 0000000..ea8914d
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward.des
@@ -0,0 +1 @@
+A5 44 通天令领取等级奖励 #tagCMGetTongTianLVAward
diff --git a/ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward.h b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward.h
new file mode 100644
index 0000000..9ed271a
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianLVAward.h
@@ -0,0 +1,8 @@
+// A5 44 通天令领取等级奖励 #tagCMGetTongTianLVAward
+
+struct	tagCMGetTongTianLVAward
+{
+	tagHead		Head;
+	BYTE		TTLV;    // 领取对应等级奖励,发255为一键领取所有等级奖励,包含仙品奖励
+	BYTE		IsXian;	// 是否领取仙品奖励,仅指定等级奖励有效
+};
diff --git a/ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward
diff --git a/ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward.des b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward.des
new file mode 100644
index 0000000..b3b69e5
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward.des
@@ -0,0 +1 @@
+A5 43 通天令领取任务奖励 #tagCMGetTongTianTaskAward
diff --git a/ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward.h b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward.h
new file mode 100644
index 0000000..7db13aa
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CA5_Function/GetTongTianTaskAward.h
@@ -0,0 +1,7 @@
+// A5 43 通天令领取任务奖励 #tagCMGetTongTianTaskAward
+
+struct	tagCMGetTongTianTaskAward
+{
+	tagHead		Head;
+	BYTE		TaskID;    // 任务ID
+};
diff --git a/ServerPack/MapServerPack/HA3_Function/TongTianLingInfo b/ServerPack/MapServerPack/HA3_Function/TongTianLingInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/TongTianLingInfo
diff --git a/ServerPack/MapServerPack/HA3_Function/TongTianLingInfo.des b/ServerPack/MapServerPack/HA3_Function/TongTianLingInfo.des
new file mode 100644
index 0000000..039be24
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/TongTianLingInfo.des
@@ -0,0 +1 @@
+A3 56 通天令信息 #tagMCTongTianLingInfo
diff --git a/ServerPack/MapServerPack/HA3_Function/TongTianLingInfo.h b/ServerPack/MapServerPack/HA3_Function/TongTianLingInfo.h
new file mode 100644
index 0000000..c410972
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/TongTianLingInfo.h
@@ -0,0 +1,12 @@
+// A3 56 通天令信息 #tagMCTongTianLingInfo
+
+struct	tagMCTongTianLingInfo
+{
+	tagHead		Head;
+	BYTE		TTLBuyState;	//通天令是否已购买
+	BYTE		TTLLV;		//通天令等级,从0开始
+	DWORD		CurPoint;		//通天令当前等级经验积分点
+	BYTE		AwardStateCount;	//等级领奖记录值数,每个值存31个记录   0-30, 31-61, ...
+	DWORD		CommAwardStateList[AwardStateCount];	//常规奖励领奖记录,按等级二进制位存储是否领奖
+	DWORD		XianAwardStateList[AwardStateCount];	//仙品奖励领奖记录,按等级二进制位存储是否领奖
+};
diff --git a/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo
diff --git a/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo.des b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo.des
new file mode 100644
index 0000000..67b41f2
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo.des
@@ -0,0 +1 @@
+A3 58 通天令任务奖励信息 #tagMCTongTianLingTaskAwardInfo
diff --git a/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo.h b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo.h
new file mode 100644
index 0000000..f4d31db
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskAwardInfo.h
@@ -0,0 +1,8 @@
+// A3 58 通天令任务奖励信息 #tagMCTongTianLingTaskAwardInfo
+
+struct	tagMCTongTianLingTaskAwardInfo
+{
+	tagHead		Head;
+	BYTE		AwardStateCount;
+	DWORD		TaskAwardStateList[AwardStateCount];	//任务领奖记录值个数,按任务ID二进制位存储是否已领取,每个值存31个记录   0-30, 31-61, ...
+};
diff --git a/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo
new file mode 100644
index 0000000..12324cb
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo
Binary files differ
diff --git a/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo.des b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo.des
new file mode 100644
index 0000000..722b1a8
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo.des
@@ -0,0 +1 @@
+A3 57 通天令任务进度信息 #tagMCTongTianLingTaskValueInfo
diff --git a/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo.h b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo.h
new file mode 100644
index 0000000..7344d04
--- /dev/null
+++ b/ServerPack/MapServerPack/HA3_Function/TongTianLingTaskValueInfo.h
@@ -0,0 +1,15 @@
+// A3 57 通天令任务进度信息 #tagMCTongTianLingTaskValueInfo
+
+struct	tagMCTongTianLingTaskValue
+{
+	BYTE	TaskType;	//成就类型
+	BYTE	IsDaily;		//是否每日任务
+	DWORD	TaskValue;	//当前完成进度值
+};
+
+struct	tagMCTongTianLingTaskValueInfo
+{
+	tagHead		Head;
+	BYTE		Count;	//信息个数
+	tagMCTongTianLingTaskValue		TaskValueList[Count]; 
+};

--
Gitblit v1.8.0