From 3be133d5ac1faf779a7493587313be622f297217 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 26 九月 2023 01:00:10 +0800 Subject: [PATCH] 9961 【BT0.1】【主干】倒计时礼包 --- ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py | 657 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 651 insertions(+), 6 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py b/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py index 6c250f8..65f0b57 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py @@ -98,6 +98,13 @@ ("list", "RandMailKeyList", 0), ), + "CrossDailyAction":( + ("DWORD", "DailyID", 1), + ("dict", "OpenTimeDict", 0), + ("DWORD", "Duration", 0), + ("dict", "NotifyInfo", 0), + ), + "DailyAction":( ("DWORD", "DailyID", 1), ("dict", "OpenTimeDict", 0), @@ -209,6 +216,13 @@ ("list", "ServerFirstKillPlayerAward", 0), ), + "OSCBillRankAward":( + ("BYTE", "OSCBillType", 1), + ("BYTE", "RankA", 0), + ("BYTE", "RankB", 0), + ("dict", "RankAward", 0), + ), + "QuestionBank":( ("DWORD", "ID", 1), ("char", "Answer", 0), @@ -278,6 +292,7 @@ ("DWORD", "LimitLV", 0), ("DWORD", "LimitMagicWeapon", 0), ("WORD", "LimiRealmLV", 0), + ("BYTE", "LimitVIPLV", 0), ), "ChinNPC":( @@ -383,6 +398,19 @@ ("BYTE", "IsDayReset", 0), ), + "ActBuyOne":( + ("DWORD", "CfgID", 1), + ("list", "PlatformList", 0), + ("list", "ServerGroupIDList", 0), + ("BYTE", "ActNum", 0), + ("char", "StartDate", 0), + ("char", "EndDate", 0), + ("dict", "NotifyInfoStart", 0), + ("dict", "NotifyInfoEnd", 0), + ("list", "NotifyInfoLoop", 0), + ("BYTE", "IsDayReset", 0), + ), + "ActCollectWords":( ("DWORD", "CfgID", 1), ("list", "PlatformList", 0), @@ -393,6 +421,59 @@ ("dict", "NotifyInfoStart", 0), ("dict", "NotifyInfoEnd", 0), ("list", "NotifyInfoLoop", 0), + ), + + "ActGarbageSorting":( + ("DWORD", "CfgID", 1), + ("list", "PlatformList", 0), + ("list", "ServerGroupIDList", 0), + ("BYTE", "ActNum", 0), + ("char", "StartDate", 0), + ("char", "EndDate", 0), + ("dict", "NotifyInfoStart", 0), + ("dict", "NotifyInfoEnd", 0), + ("list", "NotifyInfoLoop", 0), + ("BYTE", "ResetType", 0), + ), + + "ActXianXiaMJ":( + ("DWORD", "CfgID", 1), + ("list", "PlatformList", 0), + ("list", "ServerGroupIDList", 0), + ("BYTE", "ActNum", 0), + ("char", "StartDate", 0), + ("char", "EndDate", 0), + ("dict", "NotifyInfoStart", 0), + ("dict", "NotifyInfoEnd", 0), + ("list", "NotifyInfoLoop", 0), + ("BYTE", "ResetType", 0), + ), + + "ActGodGift":( + ("DWORD", "CfgID", 1), + ("list", "PlatformList", 0), + ("list", "ServerGroupIDList", 0), + ("BYTE", "ActNum", 0), + ("char", "StartDate", 0), + ("char", "EndDate", 0), + ("dict", "NotifyInfoStart", 0), + ("dict", "NotifyInfoEnd", 0), + ("list", "NotifyInfoLoop", 0), + ("BYTE", "IsDayReset", 0), + ), + + "ActHorsePetFeast":( + ("DWORD", "CfgID", 1), + ("list", "PlatformList", 0), + ("list", "ServerGroupIDList", 0), + ("BYTE", "ActNum", 0), + ("char", "StartDate", 0), + ("char", "EndDate", 0), + ("list", "StartTimeList", 0), + ("list", "EndTimeList", 0), + ("dict", "NotifyInfoStart", 0), + ("dict", "NotifyInfoEnd", 0), + ("BYTE", "IsDayReset", 0), ), "ActBossReborn":( @@ -532,6 +613,16 @@ ("BYTE", "IsDayReset", 0), ), + "ActTurntable":( + ("DWORD", "CfgID", 1), + ("list", "PlatformList", 0), + ("list", "ServerGroupIDList", 0), + ("BYTE", "ActNum", 0), + ("char", "StartDate", 0), + ("char", "EndDate", 0), + ("BYTE", "IsDayReset", 0), + ), + "ActManyDayRecharge":( ("DWORD", "CfgID", 1), ("list", "PlatformList", 0), @@ -570,10 +661,35 @@ ("list", "ServerGroupIDList", 0), ), + "ChampionshipTime":( + ("DWORD", "ID", 1), + ("BYTE", "StartDay", 0), + ("BYTE", "StartHour", 0), + ("BYTE", "StartMinute", 0), + ("BYTE", "EndDay", 0), + ("BYTE", "EndHour", 0), + ("BYTE", "EndMinute", 0), + ("WORD", "StateValue", 0), + ("dict", "NotifyInfo", 0), + ), + + "ChampionshipRank":( + ("BYTE", "Rank", 1), + ("list", "RankAwardItemList", 0), + ("WORD", "MainOfficialID", 0), + ), + + "ChampionshipOfficial":( + ("WORD", "OfficialID", 1), + ("list", "JuniorOfficialIDList", 0), + ("list", "DailyAwardItemList", 0), + ("BYTE", "CanBeReplace", 0), + ), + "CrossRealmPKSeason":( ("char", "CrossZoneName", 1), ("BYTE", "ZoneID", 1), - ("BYTE", "SeasonID", 0), + ("WORD", "SeasonID", 0), ("char", "StartDate", 0), ("char", "EndDate", 0), ("char", "EndTime", 0), @@ -582,12 +698,18 @@ "CrossRealmPKDan":( ("BYTE", "DanLV", 1), ("WORD", "LVUpScore", 0), - ("list", "MatchRange", 0), ("BYTE", "MatchRobotRate", 0), ("BYTE", "MatchRobotRateEx", 0), ), "CrossPenglaiZoneMap":( + ("BYTE", "ZoneID", 0), + ("DWORD", "MapID", 1), + ("DWORD", "DataMapID", 1), + ("BYTE", "CopyMapID", 1), + ), + + "CrossDemonLandZoneMap":( ("BYTE", "ZoneID", 0), ("DWORD", "MapID", 1), ("DWORD", "DataMapID", 1), @@ -659,6 +781,26 @@ ("dict", "Award", 0), ), + "LoveGift":( + ("BYTE", "GiftNum", 1), + ("float", "AddCharmSelf", 0), + ("float", "AddCharmTag", 0), + ("DWORD", "AddIntimacy", 0), + ("char", "WorldNotifyKey", 0), + ), + + "Marry":( + ("BYTE", "BridePriceID", 1), + ("BYTE", "CanBuyCount", 0), + ("BYTE", "IsDayReset", 0), + ("DWORD", "Prosperity", 0), + ("WORD", "CandyTimes", 0), + ("list", "CandyItemWeightInfo", 0), + ("list", "CandyNotifyItemInfo", 0), + ("list", "BrideGiftItemInfo", 0), + ("char", "WorldNotifyKey", 0), + ), + "ActLuckyTreasure":( ("DWORD", "CfgID", 1), ("char", "ActMark", 0), @@ -673,9 +815,52 @@ ("WORD", "LVLimit", 0), ), + "CrossActLuckyCloudBuy":( + ("DWORD", "CfgID", 1), + ("char", "ActGroupName", 0), + ("BYTE", "ZoneID", 0), + ("list", "ServerIDRangeList", 0), + ("char", "StartDate", 0), + ("char", "EndDate", 0), + ("list", "StartTimeList", 0), + ("list", "EndTimeList", 0), + ("list", "RoundMaxList", 0), + ("WORD", "LVLimit", 0), + ("list", "TemplateIDList", 0), + ), + + "CrossActLuckyCloudBuyTemplate":( + ("DWORD", "TemplateID", 1), + ("list", "BaseAwardInfo", 0), + ("list", "RandAwardWeightInfo", 0), + ("list", "SuperItemWeightInfo", 0), + ), + + "CrossActAllRecharge":( + ("DWORD", "CfgID", 1), + ("char", "ActGroupName", 0), + ("BYTE", "ZoneID", 0), + ("list", "ServerIDRangeList", 0), + ("char", "StartDate", 0), + ("char", "EndDate", 0), + ("dict", "NotifyInfoStart", 0), + ("dict", "NotifyInfoEnd", 0), + ("list", "NotifyInfoLoop", 0), + ("list", "TemplateIDList", 0), + ), + + "CrossActAllRechargeTemplate":( + ("DWORD", "TemplateID", 1), + ("DWORD", "CTGNeed", 0), + ("WORD", "NeedPlayerCount", 0), + ("BYTE", "AwardIndex", 0), + ("list", "AwardItemList", 0), + ), + "CrossActCTGBillboard":( ("DWORD", "CfgID", 1), ("char", "ActGroupName", 0), + ("BYTE", "ZoneID", 0), ("list", "ServerIDRangeList", 0), ("char", "StartDate", 0), ("char", "EndDate", 0), @@ -861,6 +1046,21 @@ def GetItemCountWeightList(self): return self.ItemCountWeightList # 指定上架随机件数权重列表, [[权重, 件数], ...] def GetAuctionItemWeightList(self): return self.AuctionItemWeightList # 指定上架物品随机权重, [[权重, 物品ID],[权重, [阶,颜色,部位集合,是否套装,星级]] ...] def GetRandMailKeyList(self): return self.RandMailKeyList # 指定上架随机邮件列表,有配置时上架的时候在线玩家会收到一封上架邮件提醒 + +# 跨服日常活动表 +class IPY_CrossDailyAction(): + + def __init__(self): + self.DailyID = 0 + self.OpenTimeDict = {} + self.Duration = 0 + self.NotifyInfo = {} + return + + def GetDailyID(self): return self.DailyID # 活动ID + def GetOpenTimeDict(self): return self.OpenTimeDict # 开启时间 + def GetDuration(self): return self.Duration # 持续时间, 0为不限制 + def GetNotifyInfo(self): return self.NotifyInfo # 广播提示信息 # 日常活动表 class IPY_DailyAction(): @@ -1096,6 +1296,21 @@ def GetNPCID(self): return self.NPCID # ID def GetServerFirstKillPlayerAward(self): return self.ServerFirstKillPlayerAward # 全服首杀玩家奖励 [[物品ID,个数,是否拍品], ...] +# 全民冲榜排行奖励表 +class IPY_OSCBillRankAward(): + + def __init__(self): + self.OSCBillType = 0 + self.RankA = 0 + self.RankB = 0 + self.RankAward = {} + return + + def GetOSCBillType(self): return self.OSCBillType # 冲榜类型 + def GetRankA(self): return self.RankA # 排名A + def GetRankB(self): return self.RankB # 至排名B + def GetRankAward(self): return self.RankAward # 排名奖励 {"职业":[[物品ID,个数],...], ...} + # 宴会题库表 class IPY_QuestionBank(): @@ -1237,13 +1452,15 @@ self.FuncId = 0 self.LimitLV = 0 self.LimitMagicWeapon = 0 - self.LimiRealmLV = 0 + self.LimiRealmLV = 0 + self.LimitVIPLV = 0 return def GetFuncId(self): return self.FuncId # 功能标识 def GetLimitLV(self): return self.LimitLV # 开启等级 def GetLimitMagicWeapon(self): return self.LimitMagicWeapon # 需要解锁法宝ID - def GetLimiRealmLV(self): return self.LimiRealmLV # 需要境界等级 + def GetLimiRealmLV(self): return self.LimiRealmLV # 需要境界等级 + def GetLimitVIPLV(self): return self.LimitVIPLV # 需要VIP等级 # NPC表 class IPY_ChinNPC(): @@ -1459,6 +1676,33 @@ def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] def GetIsDayReset(self): return self.IsDayReset # 是否每天重置 +# 买一送多活动表 +class IPY_ActBuyOne(): + + def __init__(self): + self.CfgID = 0 + self.PlatformList = [] + self.ServerGroupIDList = [] + self.ActNum = 0 + self.StartDate = "" + self.EndDate = "" + self.NotifyInfoStart = {} + self.NotifyInfoEnd = {} + self.NotifyInfoLoop = [] + self.IsDayReset = 0 + return + + def GetCfgID(self): return self.CfgID # 配置ID + def GetPlatformList(self): return self.PlatformList # 活动平台列表["平台A", "平台A", ...],配[]代表所有 + def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器ID列表 + def GetActNum(self): return self.ActNum # 活动分组编号, 活动类型 * 10 + 不同界面编号 + def GetStartDate(self): return self.StartDate # 开启日期 + def GetEndDate(self): return self.EndDate # 结束日期 + def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间 + def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间 + def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] + def GetIsDayReset(self): return self.IsDayReset # 是否每天重置 + # 集字活动时间表 class IPY_ActCollectWords(): @@ -1483,6 +1727,116 @@ def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间 def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间 def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] + +# 垃圾分类活动时间表 +class IPY_ActGarbageSorting(): + + def __init__(self): + self.CfgID = 0 + self.PlatformList = [] + self.ServerGroupIDList = [] + self.ActNum = 0 + self.StartDate = "" + self.EndDate = "" + self.NotifyInfoStart = {} + self.NotifyInfoEnd = {} + self.NotifyInfoLoop = [] + self.ResetType = 0 + return + + def GetCfgID(self): return self.CfgID # 配置ID + def GetPlatformList(self): return self.PlatformList # 活动平台列表["平台A", "平台A", ...],配[]代表所有 + def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器ID列表 + def GetActNum(self): return self.ActNum # 活动分组编号, 活动类型 * 10 + 不同界面编号 + def GetStartDate(self): return self.StartDate # 开启日期 + def GetEndDate(self): return self.EndDate # 结束日期 + def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间 + def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间 + def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] + def GetResetType(self): return self.ResetType # 重置类型,0-0点重置;1-5点重置 + +# 仙匣秘境活动时间表 +class IPY_ActXianXiaMJ(): + + def __init__(self): + self.CfgID = 0 + self.PlatformList = [] + self.ServerGroupIDList = [] + self.ActNum = 0 + self.StartDate = "" + self.EndDate = "" + self.NotifyInfoStart = {} + self.NotifyInfoEnd = {} + self.NotifyInfoLoop = [] + self.ResetType = 0 + return + + def GetCfgID(self): return self.CfgID # 配置ID + def GetPlatformList(self): return self.PlatformList # 活动平台列表["平台A", "平台A", ...],配[]代表所有 + def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器ID列表 + def GetActNum(self): return self.ActNum # 活动分组编号, 活动类型 * 10 + 不同界面编号 + def GetStartDate(self): return self.StartDate # 开启日期 + def GetEndDate(self): return self.EndDate # 结束日期 + def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间 + def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间 + def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] + def GetResetType(self): return self.ResetType # 重置类型,0-0点重置;1-5点重置 + +# 天帝礼包活动时间表 +class IPY_ActGodGift(): + + def __init__(self): + self.CfgID = 0 + self.PlatformList = [] + self.ServerGroupIDList = [] + self.ActNum = 0 + self.StartDate = "" + self.EndDate = "" + self.NotifyInfoStart = {} + self.NotifyInfoEnd = {} + self.NotifyInfoLoop = [] + self.IsDayReset = 0 + return + + def GetCfgID(self): return self.CfgID # 配置ID + def GetPlatformList(self): return self.PlatformList # 活动平台列表["平台A", "平台A", ...],配[]代表所有 + def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器ID列表 + def GetActNum(self): return self.ActNum # 活动分组编号, 活动类型 * 10 + 不同界面编号 + def GetStartDate(self): return self.StartDate # 开启日期 + def GetEndDate(self): return self.EndDate # 结束日期 + def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间 + def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间 + def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] + def GetIsDayReset(self): return self.IsDayReset # 是否每天重置 + +# 骑宠盛宴活动 +class IPY_ActHorsePetFeast(): + + def __init__(self): + self.CfgID = 0 + self.PlatformList = [] + self.ServerGroupIDList = [] + self.ActNum = 0 + self.StartDate = "" + self.EndDate = "" + self.StartTimeList = [] + self.EndTimeList = [] + self.NotifyInfoStart = {} + self.NotifyInfoEnd = {} + self.IsDayReset = 0 + return + + def GetCfgID(self): return self.CfgID # 配置ID + def GetPlatformList(self): return self.PlatformList # 活动平台列表["平台A", "平台A", ...],配[]代表所有 + def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器ID列表 + def GetActNum(self): return self.ActNum # 活动分组编号, 活动类型 * 10 + 不同界面编号 + def GetStartDate(self): return self.StartDate # 开启日期 + def GetEndDate(self): return self.EndDate # 结束日期 + def GetStartTimeList(self): return self.StartTimeList # 开启时间列表, 支持多个时段 + def GetEndTimeList(self): return self.EndTimeList # 结束时间列表, 支持多个时段 + def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间 + def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间 + def GetIsDayReset(self): return self.IsDayReset # 是否每天重置 # BOSS复活活动时间表 class IPY_ActBossReborn(): @@ -1769,6 +2123,27 @@ def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] def GetIsDayReset(self): return self.IsDayReset # 是否每天重置 +# 转盘活动表 +class IPY_ActTurntable(): + + def __init__(self): + self.CfgID = 0 + self.PlatformList = [] + self.ServerGroupIDList = [] + self.ActNum = 0 + self.StartDate = "" + self.EndDate = "" + self.IsDayReset = 0 + return + + def GetCfgID(self): return self.CfgID # 配置ID + def GetPlatformList(self): return self.PlatformList # 活动平台列表["平台A", "平台A", ...],配[]代表所有 + def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器ID列表 + def GetActNum(self): return self.ActNum # 活动分组编号, 活动类型 * 10 + 不同界面编号 + def GetStartDate(self): return self.StartDate # 开启日期 + def GetEndDate(self): return self.EndDate # 结束日期 + def GetIsDayReset(self): return self.IsDayReset # 是否每天重置 + # 多日连充活动表 class IPY_ActManyDayRecharge(): @@ -1849,6 +2224,59 @@ def GetZoneName(self): return self.ZoneName # 赛区名字 def GetServerGroupIDList(self): return self.ServerGroupIDList # 赛区服务器组ID列表 +# 跨服排位赛流程表 +class IPY_ChampionshipTime(): + + def __init__(self): + self.ID = 0 + self.StartDay = 0 + self.StartHour = 0 + self.StartMinute = 0 + self.EndDay = 0 + self.EndHour = 0 + self.EndMinute = 0 + self.StateValue = 0 + self.NotifyInfo = {} + return + + def GetID(self): return self.ID + def GetStartDay(self): return self.StartDay # 开始天 + def GetStartHour(self): return self.StartHour # 开始时 + def GetStartMinute(self): return self.StartMinute # 开始分 + def GetEndDay(self): return self.EndDay # 结束天 + def GetEndHour(self): return self.EndHour # 结束时 + def GetEndMinute(self): return self.EndMinute # 结束分 + def GetStateValue(self): return self.StateValue # 状态值 + def GetNotifyInfo(self): return self.NotifyInfo # 广播提示信息 + +# 跨服排位奖励表 +class IPY_ChampionshipRank(): + + def __init__(self): + self.Rank = 0 + self.RankAwardItemList = [] + self.MainOfficialID = 0 + return + + def GetRank(self): return self.Rank # 名次 + def GetRankAwardItemList(self): return self.RankAwardItemList # 名次奖励物品列表 + def GetMainOfficialID(self): return self.MainOfficialID # 主官职ID + +# 跨服排位官职表 +class IPY_ChampionshipOfficial(): + + def __init__(self): + self.OfficialID = 0 + self.JuniorOfficialIDList = [] + self.DailyAwardItemList = [] + self.CanBeReplace = 0 + return + + def GetOfficialID(self): return self.OfficialID # 官职ID + def GetJuniorOfficialIDList(self): return self.JuniorOfficialIDList # 下级官职ID列表 + def GetDailyAwardItemList(self): return self.DailyAwardItemList # 官职每日邮件奖励物品列表 + def GetCanBeReplace(self): return self.CanBeReplace # 是否可被挑战替换 + # 跨服竞技场赛季表 class IPY_CrossRealmPKSeason(): @@ -1874,19 +2302,32 @@ def __init__(self): self.DanLV = 0 self.LVUpScore = 0 - self.MatchRange = [] self.MatchRobotRate = 0 self.MatchRobotRateEx = 0 return def GetDanLV(self): return self.DanLV # 段位等级 def GetLVUpScore(self): return self.LVUpScore # 升段位所需积分 - def GetMatchRange(self): return self.MatchRange # 可匹配到的玩家段位区间 [从段位A, 到段位B],配[]代表只匹配本段位的 def GetMatchRobotRate(self): return self.MatchRobotRate # 匹配机器人基础概率,百分率 def GetMatchRobotRateEx(self): return self.MatchRobotRateEx # 匹配机器人失败次数附加概率,百分率 # 跨服Boss蓬莱仙境分区地图表 class IPY_CrossPenglaiZoneMap(): + + def __init__(self): + self.ZoneID = 0 + self.MapID = 0 + self.DataMapID = 0 + self.CopyMapID = 0 + return + + def GetZoneID(self): return self.ZoneID # 分区ID + def GetMapID(self): return self.MapID # 场景地图ID + def GetDataMapID(self): return self.DataMapID # 数据地图ID + def GetCopyMapID(self): return self.CopyMapID # 虚拟线路ID + +# 跨服Boss魔化之地分区地图表 +class IPY_CrossDemonLandZoneMap(): def __init__(self): self.ZoneID = 0 @@ -2035,6 +2476,48 @@ def GetRank(self): return self.Rank # 排名 def GetAward(self): return self.Award # 奖励 {"职业":[[物品ID,个数,是否绑定],...], ...} +# 情缘礼物表 +class IPY_LoveGift(): + + def __init__(self): + self.GiftNum = 0 + self.AddCharmSelf = 0.0 + self.AddCharmTag = 0.0 + self.AddIntimacy = 0 + self.WorldNotifyKey = "" + return + + def GetGiftNum(self): return self.GiftNum # 聘礼ID + def GetAddCharmSelf(self): return self.AddCharmSelf # 单个增加自身魅力 + def GetAddCharmTag(self): return self.AddCharmTag # 单个增加对方魅力 + def GetAddIntimacy(self): return self.AddIntimacy # 单个增加双方亲密度 + def GetWorldNotifyKey(self): return self.WorldNotifyKey # 广播key + +# 情缘提亲表 +class IPY_Marry(): + + def __init__(self): + self.BridePriceID = 0 + self.CanBuyCount = 0 + self.IsDayReset = 0 + self.Prosperity = 0 + self.CandyTimes = 0 + self.CandyItemWeightInfo = [] + self.CandyNotifyItemInfo = [] + self.BrideGiftItemInfo = [] + self.WorldNotifyKey = "" + return + + def GetBridePriceID(self): return self.BridePriceID # 聘礼ID + def GetCanBuyCount(self): return self.CanBuyCount # 可购买次数 + def GetIsDayReset(self): return self.IsDayReset # 是否每日重置 + def GetProsperity(self): return self.Prosperity # 初始繁荣度 + def GetCandyTimes(self): return self.CandyTimes # 喜糖持续时间秒 + def GetCandyItemWeightInfo(self): return self.CandyItemWeightInfo # 喜糖物品库权重列表[[权重, 物品ID,个数,是否拍品], ...] + def GetCandyNotifyItemInfo(self): return self.CandyNotifyItemInfo # 喜糖需要广播的物品ID列表 + def GetBrideGiftItemInfo(self): return self.BrideGiftItemInfo # 聘礼物品列表[[物品ID,个数,是否拍品], ...] + def GetWorldNotifyKey(self): return self.WorldNotifyKey # 广播key + # 幸运鉴宝活动时间表 class IPY_ActLuckyTreasure(): @@ -2064,12 +2547,101 @@ def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] def GetLVLimit(self): return self.LVLimit # 限制等级 +# 跨服幸运云购表 +class IPY_CrossActLuckyCloudBuy(): + + def __init__(self): + self.CfgID = 0 + self.ActGroupName = "" + self.ZoneID = 0 + self.ServerIDRangeList = [] + self.StartDate = "" + self.EndDate = "" + self.StartTimeList = [] + self.EndTimeList = [] + self.RoundMaxList = [] + self.LVLimit = 0 + self.TemplateIDList = [] + return + + def GetCfgID(self): return self.CfgID # 配置ID + def GetActGroupName(self): return self.ActGroupName # 活动组名(同组活动的名字需相同) + def GetZoneID(self): return self.ZoneID # 组内分组编号 + def GetServerIDRangeList(self): return self.ServerIDRangeList # 活动的账号服务器ID范围列表 [[serverIDA, serverIDB], ...] + def GetStartDate(self): return self.StartDate # 开启日期 + def GetEndDate(self): return self.EndDate # 结束日期 + def GetStartTimeList(self): return self.StartTimeList # 开启时间列表, 支持多个时段 + def GetEndTimeList(self): return self.EndTimeList # 结束时间列表, 支持多个时段 + def GetRoundMaxList(self): return self.RoundMaxList # 开启轮次列表 + def GetLVLimit(self): return self.LVLimit # 限制等级 + def GetTemplateIDList(self): return self.TemplateIDList # 模板ID列表 + +# 跨服幸运云购模板表 +class IPY_CrossActLuckyCloudBuyTemplate(): + + def __init__(self): + self.TemplateID = 0 + self.BaseAwardInfo = [] + self.RandAwardWeightInfo = [] + self.SuperItemWeightInfo = [] + return + + def GetTemplateID(self): return self.TemplateID # 模板ID + def GetBaseAwardInfo(self): return self.BaseAwardInfo # 每次购买固定奖励 [[物品ID,个数,是否拍品], ...] + def GetRandAwardWeightInfo(self): return self.RandAwardWeightInfo # 每次购买随机奖励权重信息 [[权重,物品ID,个数,是否拍品], ...] + def GetSuperItemWeightInfo(self): return self.SuperItemWeightInfo # 大奖随机权重信息 [[权重,物品ID,个数,是否拍品,价值货币类型,货币值], ...] + +# 跨服全民充值时间表 +class IPY_CrossActAllRecharge(): + + def __init__(self): + self.CfgID = 0 + self.ActGroupName = "" + self.ZoneID = 0 + self.ServerIDRangeList = [] + self.StartDate = "" + self.EndDate = "" + self.NotifyInfoStart = {} + self.NotifyInfoEnd = {} + self.NotifyInfoLoop = [] + self.TemplateIDList = [] + return + + def GetCfgID(self): return self.CfgID # 配置ID + def GetActGroupName(self): return self.ActGroupName # 活动组名(同组活动的名字需相同) + def GetZoneID(self): return self.ZoneID # 组内分组编号 + def GetServerIDRangeList(self): return self.ServerIDRangeList # 活动的账号服务器ID范围列表 [[serverIDA, serverIDB], ...] + def GetStartDate(self): return self.StartDate # 开启日期 + def GetEndDate(self): return self.EndDate # 结束日期 + def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间 + def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间 + def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[循环分钟, 广播key, [广播参数列表可选]] + def GetTemplateIDList(self): return self.TemplateIDList # 模板ID列表 + +# 跨服全民充值模板表 +class IPY_CrossActAllRechargeTemplate(): + + def __init__(self): + self.TemplateID = 0 + self.CTGNeed = 0 + self.NeedPlayerCount = 0 + self.AwardIndex = 0 + self.AwardItemList = [] + return + + def GetTemplateID(self): return self.TemplateID # 模板ID + def GetCTGNeed(self): return self.CTGNeed # 全民充值RMB + def GetNeedPlayerCount(self): return self.NeedPlayerCount # 所需充值达到该档玩家数 + def GetAwardIndex(self): return self.AwardIndex # 奖励记录索引,从0开始,同个模板不可重复,不可变更 + def GetAwardItemList(self): return self.AwardItemList # 奖励物品列表[[物品ID,个数,是否拍品], ...] + # 跨服充值排行活动时间表 class IPY_CrossActCTGBillboard(): def __init__(self): self.CfgID = 0 self.ActGroupName = "" + self.ZoneID = 0 self.ServerIDRangeList = [] self.StartDate = "" self.EndDate = "" @@ -2082,6 +2654,7 @@ def GetCfgID(self): return self.CfgID # 配置ID def GetActGroupName(self): return self.ActGroupName # 活动组名(同组活动的名字需相同) + def GetZoneID(self): return self.ZoneID # 组内分组编号 def GetServerIDRangeList(self): return self.ServerIDRangeList # 活动的账号服务器ID范围列表 [[serverIDA, serverIDB], ...] def GetStartDate(self): return self.StartDate # 开启日期 def GetEndDate(self): return self.EndDate # 结束日期 @@ -2204,6 +2777,8 @@ self.ipyAuctionItemLen = len(self.ipyAuctionItemCache) self.ipyAuctionSystemItemCache = self.__LoadFileData("AuctionSystemItem", IPY_AuctionSystemItem) self.ipyAuctionSystemItemLen = len(self.ipyAuctionSystemItemCache) + self.ipyCrossDailyActionCache = self.__LoadFileData("CrossDailyAction", IPY_CrossDailyAction) + self.ipyCrossDailyActionLen = len(self.ipyCrossDailyActionCache) self.ipyDailyActionCache = self.__LoadFileData("DailyAction", IPY_DailyAction) self.ipyDailyActionLen = len(self.ipyDailyActionCache) self.ipyDailyActionCustomCache = self.__LoadFileData("DailyActionCustom", IPY_DailyActionCustom) @@ -2228,6 +2803,8 @@ self.ipyBOSSInfoLen = len(self.ipyBOSSInfoCache) self.ipyBOSSFirstKillCache = self.__LoadFileData("BOSSFirstKill", IPY_BOSSFirstKill) self.ipyBOSSFirstKillLen = len(self.ipyBOSSFirstKillCache) + self.ipyOSCBillRankAwardCache = self.__LoadFileData("OSCBillRankAward", IPY_OSCBillRankAward) + self.ipyOSCBillRankAwardLen = len(self.ipyOSCBillRankAwardCache) self.ipyQuestionBankCache = self.__LoadFileData("QuestionBank", IPY_QuestionBank) self.ipyQuestionBankLen = len(self.ipyQuestionBankCache) self.ipyFamilyRedPackCache = self.__LoadFileData("FamilyRedPack", IPY_FamilyRedPack) @@ -2258,8 +2835,18 @@ self.ipyActExpRateLen = len(self.ipyActExpRateCache) self.ipyActCostRebateCache = self.__LoadFileData("ActCostRebate", IPY_ActCostRebate) self.ipyActCostRebateLen = len(self.ipyActCostRebateCache) + self.ipyActBuyOneCache = self.__LoadFileData("ActBuyOne", IPY_ActBuyOne) + self.ipyActBuyOneLen = len(self.ipyActBuyOneCache) self.ipyActCollectWordsCache = self.__LoadFileData("ActCollectWords", IPY_ActCollectWords) self.ipyActCollectWordsLen = len(self.ipyActCollectWordsCache) + self.ipyActGarbageSortingCache = self.__LoadFileData("ActGarbageSorting", IPY_ActGarbageSorting) + self.ipyActGarbageSortingLen = len(self.ipyActGarbageSortingCache) + self.ipyActXianXiaMJCache = self.__LoadFileData("ActXianXiaMJ", IPY_ActXianXiaMJ) + self.ipyActXianXiaMJLen = len(self.ipyActXianXiaMJCache) + self.ipyActGodGiftCache = self.__LoadFileData("ActGodGift", IPY_ActGodGift) + self.ipyActGodGiftLen = len(self.ipyActGodGiftCache) + self.ipyActHorsePetFeastCache = self.__LoadFileData("ActHorsePetFeast", IPY_ActHorsePetFeast) + self.ipyActHorsePetFeastLen = len(self.ipyActHorsePetFeastCache) self.ipyActBossRebornCache = self.__LoadFileData("ActBossReborn", IPY_ActBossReborn) self.ipyActBossRebornLen = len(self.ipyActBossRebornCache) self.ipyActFairyCeremonyCache = self.__LoadFileData("ActFairyCeremony", IPY_ActFairyCeremony) @@ -2282,6 +2869,8 @@ self.ipyActGrowupBuyLen = len(self.ipyActGrowupBuyCache) self.ipyActSingleRechargeCache = self.__LoadFileData("ActSingleRecharge", IPY_ActSingleRecharge) self.ipyActSingleRechargeLen = len(self.ipyActSingleRechargeCache) + self.ipyActTurntableCache = self.__LoadFileData("ActTurntable", IPY_ActTurntable) + self.ipyActTurntableLen = len(self.ipyActTurntableCache) self.ipyActManyDayRechargeCache = self.__LoadFileData("ActManyDayRecharge", IPY_ActManyDayRecharge) self.ipyActManyDayRechargeLen = len(self.ipyActManyDayRechargeCache) self.ipyActTotalRechargeCache = self.__LoadFileData("ActTotalRecharge", IPY_ActTotalRecharge) @@ -2290,12 +2879,20 @@ self.ipyCrossZoneCommLen = len(self.ipyCrossZoneCommCache) self.ipyCrossZonePKCache = self.__LoadFileData("CrossZonePK", IPY_CrossZonePK) self.ipyCrossZonePKLen = len(self.ipyCrossZonePKCache) + self.ipyChampionshipTimeCache = self.__LoadFileData("ChampionshipTime", IPY_ChampionshipTime) + self.ipyChampionshipTimeLen = len(self.ipyChampionshipTimeCache) + self.ipyChampionshipRankCache = self.__LoadFileData("ChampionshipRank", IPY_ChampionshipRank) + self.ipyChampionshipRankLen = len(self.ipyChampionshipRankCache) + self.ipyChampionshipOfficialCache = self.__LoadFileData("ChampionshipOfficial", IPY_ChampionshipOfficial) + self.ipyChampionshipOfficialLen = len(self.ipyChampionshipOfficialCache) self.ipyCrossRealmPKSeasonCache = self.__LoadFileData("CrossRealmPKSeason", IPY_CrossRealmPKSeason) self.ipyCrossRealmPKSeasonLen = len(self.ipyCrossRealmPKSeasonCache) self.ipyCrossRealmPKDanCache = self.__LoadFileData("CrossRealmPKDan", IPY_CrossRealmPKDan) self.ipyCrossRealmPKDanLen = len(self.ipyCrossRealmPKDanCache) self.ipyCrossPenglaiZoneMapCache = self.__LoadFileData("CrossPenglaiZoneMap", IPY_CrossPenglaiZoneMap) self.ipyCrossPenglaiZoneMapLen = len(self.ipyCrossPenglaiZoneMapCache) + self.ipyCrossDemonLandZoneMapCache = self.__LoadFileData("CrossDemonLandZoneMap", IPY_CrossDemonLandZoneMap) + self.ipyCrossDemonLandZoneMapLen = len(self.ipyCrossDemonLandZoneMapCache) self.ipyActWeekPartyCache = self.__LoadFileData("ActWeekParty", IPY_ActWeekParty) self.ipyActWeekPartyLen = len(self.ipyActWeekPartyCache) self.ipyActLoginAwardCache = self.__LoadFileData("ActLoginAward", IPY_ActLoginAward) @@ -2306,8 +2903,20 @@ self.ipyActNewFairyCeremonyLen = len(self.ipyActNewFairyCeremonyCache) self.ipyNewUniquenessArriveCache = self.__LoadFileData("NewUniquenessArrive", IPY_NewUniquenessArrive) self.ipyNewUniquenessArriveLen = len(self.ipyNewUniquenessArriveCache) + self.ipyLoveGiftCache = self.__LoadFileData("LoveGift", IPY_LoveGift) + self.ipyLoveGiftLen = len(self.ipyLoveGiftCache) + self.ipyMarryCache = self.__LoadFileData("Marry", IPY_Marry) + self.ipyMarryLen = len(self.ipyMarryCache) self.ipyActLuckyTreasureCache = self.__LoadFileData("ActLuckyTreasure", IPY_ActLuckyTreasure) self.ipyActLuckyTreasureLen = len(self.ipyActLuckyTreasureCache) + self.ipyCrossActLuckyCloudBuyCache = self.__LoadFileData("CrossActLuckyCloudBuy", IPY_CrossActLuckyCloudBuy) + self.ipyCrossActLuckyCloudBuyLen = len(self.ipyCrossActLuckyCloudBuyCache) + self.ipyCrossActLuckyCloudBuyTemplateCache = self.__LoadFileData("CrossActLuckyCloudBuyTemplate", IPY_CrossActLuckyCloudBuyTemplate) + self.ipyCrossActLuckyCloudBuyTemplateLen = len(self.ipyCrossActLuckyCloudBuyTemplateCache) + self.ipyCrossActAllRechargeCache = self.__LoadFileData("CrossActAllRecharge", IPY_CrossActAllRecharge) + self.ipyCrossActAllRechargeLen = len(self.ipyCrossActAllRechargeCache) + self.ipyCrossActAllRechargeTemplateCache = self.__LoadFileData("CrossActAllRechargeTemplate", IPY_CrossActAllRechargeTemplate) + self.ipyCrossActAllRechargeTemplateLen = len(self.ipyCrossActAllRechargeTemplateCache) self.ipyCrossActCTGBillboardCache = self.__LoadFileData("CrossActCTGBillboard", IPY_CrossActCTGBillboard) self.ipyCrossActCTGBillboardLen = len(self.ipyCrossActCTGBillboardCache) self.ipyCrossActCTGBillboardOrderCache = self.__LoadFileData("CrossActCTGBillboardOrder", IPY_CrossActCTGBillboardOrder) @@ -2500,6 +3109,8 @@ def GetAuctionItemByIndex(self, index): return self.ipyAuctionItemCache[index] def GetAuctionSystemItemCount(self): return self.ipyAuctionSystemItemLen def GetAuctionSystemItemByIndex(self, index): return self.ipyAuctionSystemItemCache[index] + def GetCrossDailyActionCount(self): return self.ipyCrossDailyActionLen + def GetCrossDailyActionByIndex(self, index): return self.ipyCrossDailyActionCache[index] def GetDailyActionCount(self): return self.ipyDailyActionLen def GetDailyActionByIndex(self, index): return self.ipyDailyActionCache[index] def GetDailyActionCustomCount(self): return self.ipyDailyActionCustomLen @@ -2524,6 +3135,8 @@ def GetBOSSInfoByIndex(self, index): return self.ipyBOSSInfoCache[index] def GetBOSSFirstKillCount(self): return self.ipyBOSSFirstKillLen def GetBOSSFirstKillByIndex(self, index): return self.ipyBOSSFirstKillCache[index] + def GetOSCBillRankAwardCount(self): return self.ipyOSCBillRankAwardLen + def GetOSCBillRankAwardByIndex(self, index): return self.ipyOSCBillRankAwardCache[index] def GetQuestionBankCount(self): return self.ipyQuestionBankLen def GetQuestionBankByIndex(self, index): return self.ipyQuestionBankCache[index] def GetFamilyRedPackCount(self): return self.ipyFamilyRedPackLen @@ -2554,8 +3167,18 @@ def GetActExpRateByIndex(self, index): return self.ipyActExpRateCache[index] def GetActCostRebateCount(self): return self.ipyActCostRebateLen def GetActCostRebateByIndex(self, index): return self.ipyActCostRebateCache[index] + def GetActBuyOneCount(self): return self.ipyActBuyOneLen + def GetActBuyOneByIndex(self, index): return self.ipyActBuyOneCache[index] def GetActCollectWordsCount(self): return self.ipyActCollectWordsLen def GetActCollectWordsByIndex(self, index): return self.ipyActCollectWordsCache[index] + def GetActGarbageSortingCount(self): return self.ipyActGarbageSortingLen + def GetActGarbageSortingByIndex(self, index): return self.ipyActGarbageSortingCache[index] + def GetActXianXiaMJCount(self): return self.ipyActXianXiaMJLen + def GetActXianXiaMJByIndex(self, index): return self.ipyActXianXiaMJCache[index] + def GetActGodGiftCount(self): return self.ipyActGodGiftLen + def GetActGodGiftByIndex(self, index): return self.ipyActGodGiftCache[index] + def GetActHorsePetFeastCount(self): return self.ipyActHorsePetFeastLen + def GetActHorsePetFeastByIndex(self, index): return self.ipyActHorsePetFeastCache[index] def GetActBossRebornCount(self): return self.ipyActBossRebornLen def GetActBossRebornByIndex(self, index): return self.ipyActBossRebornCache[index] def GetActFairyCeremonyCount(self): return self.ipyActFairyCeremonyLen @@ -2578,6 +3201,8 @@ def GetActGrowupBuyByIndex(self, index): return self.ipyActGrowupBuyCache[index] def GetActSingleRechargeCount(self): return self.ipyActSingleRechargeLen def GetActSingleRechargeByIndex(self, index): return self.ipyActSingleRechargeCache[index] + def GetActTurntableCount(self): return self.ipyActTurntableLen + def GetActTurntableByIndex(self, index): return self.ipyActTurntableCache[index] def GetActManyDayRechargeCount(self): return self.ipyActManyDayRechargeLen def GetActManyDayRechargeByIndex(self, index): return self.ipyActManyDayRechargeCache[index] def GetActTotalRechargeCount(self): return self.ipyActTotalRechargeLen @@ -2586,12 +3211,20 @@ def GetCrossZoneCommByIndex(self, index): return self.ipyCrossZoneCommCache[index] def GetCrossZonePKCount(self): return self.ipyCrossZonePKLen def GetCrossZonePKByIndex(self, index): return self.ipyCrossZonePKCache[index] + def GetChampionshipTimeCount(self): return self.ipyChampionshipTimeLen + def GetChampionshipTimeByIndex(self, index): return self.ipyChampionshipTimeCache[index] + def GetChampionshipRankCount(self): return self.ipyChampionshipRankLen + def GetChampionshipRankByIndex(self, index): return self.ipyChampionshipRankCache[index] + def GetChampionshipOfficialCount(self): return self.ipyChampionshipOfficialLen + def GetChampionshipOfficialByIndex(self, index): return self.ipyChampionshipOfficialCache[index] def GetCrossRealmPKSeasonCount(self): return self.ipyCrossRealmPKSeasonLen def GetCrossRealmPKSeasonByIndex(self, index): return self.ipyCrossRealmPKSeasonCache[index] def GetCrossRealmPKDanCount(self): return self.ipyCrossRealmPKDanLen def GetCrossRealmPKDanByIndex(self, index): return self.ipyCrossRealmPKDanCache[index] def GetCrossPenglaiZoneMapCount(self): return self.ipyCrossPenglaiZoneMapLen def GetCrossPenglaiZoneMapByIndex(self, index): return self.ipyCrossPenglaiZoneMapCache[index] + def GetCrossDemonLandZoneMapCount(self): return self.ipyCrossDemonLandZoneMapLen + def GetCrossDemonLandZoneMapByIndex(self, index): return self.ipyCrossDemonLandZoneMapCache[index] def GetActWeekPartyCount(self): return self.ipyActWeekPartyLen def GetActWeekPartyByIndex(self, index): return self.ipyActWeekPartyCache[index] def GetActLoginAwardCount(self): return self.ipyActLoginAwardLen @@ -2602,8 +3235,20 @@ def GetActNewFairyCeremonyByIndex(self, index): return self.ipyActNewFairyCeremonyCache[index] def GetNewUniquenessArriveCount(self): return self.ipyNewUniquenessArriveLen def GetNewUniquenessArriveByIndex(self, index): return self.ipyNewUniquenessArriveCache[index] + def GetLoveGiftCount(self): return self.ipyLoveGiftLen + def GetLoveGiftByIndex(self, index): return self.ipyLoveGiftCache[index] + def GetMarryCount(self): return self.ipyMarryLen + def GetMarryByIndex(self, index): return self.ipyMarryCache[index] def GetActLuckyTreasureCount(self): return self.ipyActLuckyTreasureLen def GetActLuckyTreasureByIndex(self, index): return self.ipyActLuckyTreasureCache[index] + def GetCrossActLuckyCloudBuyCount(self): return self.ipyCrossActLuckyCloudBuyLen + def GetCrossActLuckyCloudBuyByIndex(self, index): return self.ipyCrossActLuckyCloudBuyCache[index] + def GetCrossActLuckyCloudBuyTemplateCount(self): return self.ipyCrossActLuckyCloudBuyTemplateLen + def GetCrossActLuckyCloudBuyTemplateByIndex(self, index): return self.ipyCrossActLuckyCloudBuyTemplateCache[index] + def GetCrossActAllRechargeCount(self): return self.ipyCrossActAllRechargeLen + def GetCrossActAllRechargeByIndex(self, index): return self.ipyCrossActAllRechargeCache[index] + def GetCrossActAllRechargeTemplateCount(self): return self.ipyCrossActAllRechargeTemplateLen + def GetCrossActAllRechargeTemplateByIndex(self, index): return self.ipyCrossActAllRechargeTemplateCache[index] def GetCrossActCTGBillboardCount(self): return self.ipyCrossActCTGBillboardLen def GetCrossActCTGBillboardByIndex(self, index): return self.ipyCrossActCTGBillboardCache[index] def GetCrossActCTGBillboardOrderCount(self): return self.ipyCrossActCTGBillboardOrderLen -- Gitblit v1.8.0