From 1c42380e97bbba6013e2c73dbf9be45bc7bc2b08 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 13 十二月 2021 14:35:59 +0800
Subject: [PATCH] 9265 【BT5】【后端】53、新增幸运云购

---
 ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.h   |    7 +++
 ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy                     |    0 
 ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo          |    0 
 ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo.h             |    7 +++
 ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec.des     |    1 
 ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo              |    0 
 ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.h        |   19 +++++++++
 ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.des           |    1 
 ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.des |    1 
 ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec     |    0 
 ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.des      |    1 
 ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo               |    0 
 ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo.des           |    1 
 ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec.h       |    6 +++
 ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy.des                 |    1 
 ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec         |    0 
 ServerPack/GameServerPack/HA0_Sys/ServerDateTime.h                            |    1 
 ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.h             |   13 ++++++
 ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.des          |    1 
 ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo               |    0 
 ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy.h                   |    7 +++
 ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.h            |   15 +++++++
 22 files changed, 82 insertions(+), 0 deletions(-)

diff --git a/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec
diff --git a/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.des b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.des
new file mode 100644
index 0000000..41104a3
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.des
@@ -0,0 +1 @@
+C0 06 查询幸运云购开奖记录 #tagCGQueryLuckyCloudBuyLotteryRec
diff --git a/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.h b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.h
new file mode 100644
index 0000000..d674156
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.h
@@ -0,0 +1,7 @@
+// C0 06 查询幸运云购开奖记录 #tagCGQueryLuckyCloudBuyLotteryRec
+
+struct	tagCGQueryLuckyCloudBuyLotteryRec
+{
+	tagHead		Head;
+	BYTE		ZoneID;	//查询分区ID,分区同跨服PK分区
+};
diff --git a/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec
diff --git a/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec.des b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec.des
new file mode 100644
index 0000000..fd92481
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec.des
@@ -0,0 +1 @@
+C0 05 查询幸运云购购买号码记录 #tagCGQueryLuckyCloudBuyNumRec
diff --git a/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec.h b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec.h
new file mode 100644
index 0000000..d9e2056
--- /dev/null
+++ b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyNumRec.h
@@ -0,0 +1,6 @@
+// C0 05 查询幸运云购购买号码记录 #tagCGQueryLuckyCloudBuyNumRec
+
+struct	tagCGQueryLuckyCloudBuyNumRec
+{
+	tagHead		Head;
+};
diff --git a/ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy b/ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy
diff --git a/ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy.des b/ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy.des
new file mode 100644
index 0000000..a91be77
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy.des
@@ -0,0 +1 @@
+C1 10 幸运云购购买 #tagCMLuckyCloudBuy
diff --git a/ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy.h b/ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy.h
new file mode 100644
index 0000000..77f16f4
--- /dev/null
+++ b/ClientPack/ClientToMapServer/CC1_CrossRealm/LuckyCloudBuy.h
@@ -0,0 +1,7 @@
+// C1 10 幸运云购购买 #tagCMLuckyCloudBuy
+
+struct	tagCMLuckyCloudBuy
+{
+	tagHead		Head;
+	WORD		BuyCount;	// 购买份数
+};
diff --git a/ServerPack/GameServerPack/HA0_Sys/ServerDateTime.h b/ServerPack/GameServerPack/HA0_Sys/ServerDateTime.h
index acc44ce..ddca81a 100644
--- a/ServerPack/GameServerPack/HA0_Sys/ServerDateTime.h
+++ b/ServerPack/GameServerPack/HA0_Sys/ServerDateTime.h
@@ -11,4 +11,5 @@
 	BYTE		Minute;
 	BYTE		Second;
 	DWORD		MicSecond;
+	char		CrossServerTime[19];
 };
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.des b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.des
new file mode 100644
index 0000000..3de6913
--- /dev/null
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.des
@@ -0,0 +1 @@
+C0 14 幸运云购开奖记录 #tagGCLuckyCloudBuyLotteryRecInfo
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.h b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.h
new file mode 100644
index 0000000..9c4f3b8
--- /dev/null
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.h
@@ -0,0 +1,19 @@
+// C0 14 幸运云购开奖记录 #tagGCLuckyCloudBuyLotteryRecInfo
+
+struct	tagGCLuckyCloudBuyLotteryRec
+{
+	DWORD		SuperItemID;	// 大奖物品ID
+	BYTE		SuperItemCount;	// 大奖物品个数
+	BYTE		NameLen;
+	char		PlayerName[NameLen];	// 中奖玩家名
+	WORD		LotteryNum;	// 开奖号码
+	DWORD		LotteryTime;	// 开奖时间戳,秒
+};
+
+struct	tagGCLuckyCloudBuyLotteryRecInfo
+{
+	tagHead		Head;
+	BYTE		ZoneID;		// 分区
+	WORD		Count;
+	tagGCLuckyCloudBuyLotteryRec		LotteryRecList[Count];
+};
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.des b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.des
new file mode 100644
index 0000000..210fef7
--- /dev/null
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.des
@@ -0,0 +1 @@
+C0 13 幸运云购购买号码记录 #tagGCLuckyCloudBuyNumRecInfo
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.h b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.h
new file mode 100644
index 0000000..21c8b08
--- /dev/null
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.h
@@ -0,0 +1,15 @@
+// C0 13 幸运云购购买号码记录 #tagGCLuckyCloudBuyNumRecInfo
+
+struct	tagGCLuckyCloudBuyNumRec
+{
+	BYTE		NameLen;
+	char		PlayerName[NameLen];
+	WORD		BuyNum;
+};
+
+struct	tagGCLuckyCloudBuyNumRecInfo
+{
+	tagHead		Head;
+	WORD		Count;
+	tagGCLuckyCloudBuyNumRec		BuyNumRecList[Count];
+};
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.des b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.des
new file mode 100644
index 0000000..e70d4eb
--- /dev/null
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.des
@@ -0,0 +1 @@
+C0 12 幸运云购轮次信息 #tagGCLuckyCloudBuyRoundInfo
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.h b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.h
new file mode 100644
index 0000000..f1e472f
--- /dev/null
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.h
@@ -0,0 +1,13 @@
+// C0 12 幸运云购轮次信息 #tagGCLuckyCloudBuyRoundInfo
+
+struct	tagGCLuckyCloudBuyRoundInfo
+{
+	tagHead		Head;
+	DWORD		RoundID;		// 轮次唯一ID标识,当收到的轮次ID变更时,前端需清空购买号码记录缓存
+	BYTE		RoundNum;	// 今日第几轮
+	DWORD		SuperItemID;	// 大奖物品ID
+	BYTE		SuperItemCount;	// 大奖物品个数
+	BYTE		SuperItemMoneyType;	// 大奖价值货币类型
+	DWORD		SuperItemMoneyValue;	// 大奖价值
+	WORD		RemainCount;	// 开奖剩余份数
+};
diff --git a/ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo b/ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo
diff --git a/ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo.des b/ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo.des
new file mode 100644
index 0000000..76eb691
--- /dev/null
+++ b/ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo.des
@@ -0,0 +1 @@
+C1 08 幸运云购玩家信息 #tagMCLuckyCloudBuyPlayerInfo
diff --git a/ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo.h b/ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo.h
new file mode 100644
index 0000000..d6819d4
--- /dev/null
+++ b/ServerPack/MapServerPack/HC1_CrossRealm/LuckyCloudBuyPlayerInfo.h
@@ -0,0 +1,7 @@
+// C1 08 幸运云购玩家信息 #tagMCLuckyCloudBuyPlayerInfo
+
+struct	tagMCLuckyCloudBuyPlayerInfo
+{
+	tagHead		Head;
+	WORD		BuyCount;	// 本轮已购买份数
+};

--
Gitblit v1.8.0