From 718f530accc19969f39d1a8ce199fe947508e29a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 16 十月 2025 19:19:09 +0800
Subject: [PATCH] 237 【福利内容】每日任务/每周任务/章节奖励-服务端(每日任务、每周奖励;)
---
PySysDB/PySysDBPY.h | 69 ++++++----------------------------
1 files changed, 12 insertions(+), 57 deletions(-)
diff --git a/PySysDB/PySysDBPY.h b/PySysDB/PySysDBPY.h
index 3dfd5f3..eb7fbde 100644
--- a/PySysDB/PySysDBPY.h
+++ b/PySysDB/PySysDBPY.h
@@ -1249,25 +1249,6 @@
DWORD ADMapID; //对应副本ID,默认给该副本1次次数
};
-//日常活动表
-
-struct tagDailyAction
-{
- DWORD _DailyID; //活动ID
- dict OpenTimeDict; //开启时间
- DWORD Duration; //持续时间, 0为不限制
- DWORD DayTimes; //每日次数, 0为不限制
- DWORD DayBuyTimes; //每日可购买次数
- BYTE BuyTimesPrivilegeID; //购买次数VIP权限ID
- BYTE MoneyType; //货币类型
- list BuyNeedMoney; //购买次数需要仙玉
- DWORD DayItemAddTimes; //每日可用物品增加次数
- DWORD DayItemID; //增加次数的物品ID
- BYTE DayResetType; //每日次数重置类型; 0-不重置,1-0点,2-5点
- DWORD WeekTimes; //每周次数, 0为不限制
- BYTE WeekResetType; //每周次数重置类型; 0-不重置,1-0点,2-5点
-};
-
//装备评分属性系数表
struct tagEquipGSParam
@@ -1478,50 +1459,24 @@
list MailItemPrize; //活动更新时发送邮件奖励物品
};
-//任务列表
+//每日任务表
-struct tagTaskList
+struct DailyTask
{
- DWORD _TaskID; //任务ID
+ WORD TaskID; //任务ID
+ BYTE _TaskType; //任务类型
+ list TaskConds; //任务条件[...]
+ DWORD NeedValue; //所需任务值
+ BYTE AwardLiveness; //奖励活跃度
};
-//日常任务表
+//每日活跃奖励表
-struct tagDailyQuest
+struct DailyLivenessReward
{
- DWORD _ID; //ID
- BYTE RelatedType; //关联类型
- DWORD RelatedID; //关联ID
- WORD UnLockFuncID; //解锁功能ID
- BYTE OnceActivityTime; //增加活跃所需次数
- BYTE OnceActivity; //单次活跃值
- WORD TotalActiveValue; //总活跃
-};
-
-//日常活跃奖励表
-
-struct tagDailyLivenessReward
-{
- BYTE _ID; //ID
- WORD Liveness; //所需活跃度
- list StageLV; //阶段等级
- list ItemID; //物品ID
- list ItemCount; //物品数量
- list ItemBind; //是否绑定
-};
-
-//日常活跃放置表
-
-struct tagActivityPlaceReward
-{
- BYTE _ID; //ID
- BYTE PlaceCount; //放置定制次数
- WORD PlaceMaxLV; //最大等级
- list FixedItemRewardList; //固定奖励 [[物品ID, 个数], ...]
- BYTE RandItemCountA; //饼图奖励次数A
- list RandItemRewardListA; //饼图奖励库A [[饼图概率,物品ID], ...] 物品ID支持0
- BYTE RandItemCountB; //饼图奖励次数B
- list RandItemRewardListB; //饼图奖励库B [[饼图概率,物品ID], ...] 物品ID支持0
+ BYTE _AwardID; //奖励ID
+ WORD NeedLiveness; //所需活跃度
+ list AwardItemList; //奖励物品列表 [[物品ID,个数], ...]
};
//BOSS信息表
--
Gitblit v1.8.0