From b187afabdb91964d0d19d0edb81cbf44c8183c20 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 13 十二月 2021 14:36:26 +0800
Subject: [PATCH] 9265 【BT5】【后端】53、新增幸运云购(调整为跨服节日活动模式;跨服节日活动管理优化)
---
ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.h | 2 +-
ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.h | 15 ++++++++++++++-
ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.h | 4 +++-
ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.h | 1 +
4 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.h b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.h
index d674156..2a18091 100644
--- a/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.h
+++ b/ClientPack/ClientToGameServer/CC0_CrossRealm/QueryLuckyCloudBuyLotteryRec.h
@@ -3,5 +3,5 @@
struct tagCGQueryLuckyCloudBuyLotteryRec
{
tagHead Head;
- BYTE ZoneID; //查询分区ID,分区同跨服PK分区
+ BYTE ZoneID; //查询分区ID
};
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.h b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.h
index 9c4f3b8..62036fb 100644
--- a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.h
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyLotteryRecInfo.h
@@ -13,7 +13,9 @@
struct tagGCLuckyCloudBuyLotteryRecInfo
{
tagHead Head;
- BYTE ZoneID; // 分区
+ BYTE ZoneCount; // 分区数
+ BYTE ZoneIDList[ZoneCount]; // 所有分区ID列表
+ BYTE ZoneID; // 返回记录分区ID
WORD Count;
tagGCLuckyCloudBuyLotteryRec LotteryRecList[Count];
};
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.h b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.h
index 21c8b08..f1db5f3 100644
--- a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.h
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyNumRecInfo.h
@@ -10,6 +10,7 @@
struct tagGCLuckyCloudBuyNumRecInfo
{
tagHead Head;
+ WORD RemainCount; // 开奖剩余份数
WORD Count;
tagGCLuckyCloudBuyNumRec BuyNumRecList[Count];
};
diff --git a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.h b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.h
index f1e472f..78d5831 100644
--- a/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.h
+++ b/ServerPack/GameServerPack/HC0_CrossRealm/LuckyCloudBuyRoundInfo.h
@@ -1,13 +1,26 @@
// C0 12 幸运云购轮次信息 #tagGCLuckyCloudBuyRoundInfo
+struct tagGCLuckyCloudBuyRoundItem
+{
+ DWORD ItemID;
+ WORD ItemCount;
+ BYTE IsBind; // 是否拍品
+};
+
struct tagGCLuckyCloudBuyRoundInfo
{
tagHead Head;
+ BYTE ZoneID; // 所属分区ID
+ char StartDate[10]; // 开始日期 y-m-d
+ char EndtDate[10]; // 结束日期 y-m-d
DWORD RoundID; // 轮次唯一ID标识,当收到的轮次ID变更时,前端需清空购买号码记录缓存
BYTE RoundNum; // 今日第几轮
DWORD SuperItemID; // 大奖物品ID
BYTE SuperItemCount; // 大奖物品个数
BYTE SuperItemMoneyType; // 大奖价值货币类型
DWORD SuperItemMoneyValue; // 大奖价值
- WORD RemainCount; // 开奖剩余份数
+ BYTE BaseItemCount; // 每次购买固定奖励物品数
+ tagGCLuckyCloudBuyRoundItem BaseItemList[BaseItemCount]; // 每次购买固定奖励物品信息
+ BYTE RandItemCount; // 每次购买随机奖励物品数
+ tagGCLuckyCloudBuyRoundItem RandItemList[RandItemCount]; // 每次购买随机奖励物品信息
};
--
Gitblit v1.8.0