From 533a23118c7799b4434cd7e34ec3494ff567e0ec Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 08 一月 2019 11:31:29 +0800
Subject: [PATCH] 5771 子 【开发】【1.5】8-14天活动 / 【后端】【1.5】8-14天活动事件
---
ServerPack/MapServerPack/HAA_SaleActivity/WeekPartyInfo.h | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/ServerPack/MapServerPack/HAA_SaleActivity/WeekPartyInfo.h b/ServerPack/MapServerPack/HAA_SaleActivity/WeekPartyInfo.h
index 5194c1f..87a9a40 100644
--- a/ServerPack/MapServerPack/HAA_SaleActivity/WeekPartyInfo.h
+++ b/ServerPack/MapServerPack/HAA_SaleActivity/WeekPartyInfo.h
@@ -2,6 +2,7 @@
struct tagMCWeekPartyItem
{
+ WORD Point; // 领奖需要积分
DWORD ItemID; // 物品ID
WORD ItemCnt; // 物品数量
BYTE IsBind; // 是否绑定
@@ -13,15 +14,17 @@
WORD ActionType; // 活动类别
BYTE TotalTimes; // 可完成的总次数,0表示不限次数
DWORD SingleTimes; // 单次领奖需要的次数
- DWORD Point; // 积分
- WORD Count; // 物品数
+ DWORD Point; // 单次领奖积分
+ BYTE Count; // 物品数
tagMCWeekPartyItem ItemInfo[Count]; // 物品信息
};
-struct tagMCWeekPartyActID
+struct tagMCWeekPartyDayInfo
{
BYTE ActCnt; // 数量
WORD TemplateList[ActCnt]; // 模板列表
+ BYTE PCount; // 物品数
+ tagMCWeekPartyItem PItemInfo[PCount]; // 物品信息
};
@@ -34,7 +37,7 @@
BYTE ResetType; // 重置类型,0-0点重置;1-5点重置
WORD LimitLV; // 限制等级
BYTE DayCnt; // 天数
- tagMCWeekPartyActID DayTemplateList[DayCnt]; // 每天模板
+ tagMCWeekPartyDayInfo DayInfoList[DayCnt]; // 每天模板
BYTE TCount; // 模板数
tagMCWeekPartyAction ActionInfo[TCount]; // 活动模板信息
};
--
Gitblit v1.8.0