| | |
| | | Def_FamilyCrossState = 'FamilyCrossState' # 本服公会跨服状态, 0-未跨服;1-已跨服
|
| | | Def_FamilyTransDataTime = 'FamilyTransDataTime' # 本服公会首次跨服互通数据开始传输时间戳,不为0代表传输数据中
|
| | | Def_OSAAwardState = 'OSAAwardState' #开服冲榜活动结算状态
|
| | | Def_OperationActID = 'OperationActID_%s_%s' # 运营活动ID的标记,参数(运营活动名, actNum)
|
| | |
|
| | | #---奇迹, 职业枚举定义---
|
| | | (
|
| | |
| | |
|
| | | Def_Notify_WorldKey_CoupleInfo = "CoupleInfo" # 伴侣信息
|
| | |
|
| | | Def_WorldKey_OperationActionState = "State_%s_%s" #运营活动状态,参数为(运营活动名, actNum)
|
| | | Def_WorldKey_OperationActionStateJoin = "StateJoin_%s_%s" #运营活动可参与状态,参数为(运营活动名, actNum)
|
| | |
|
| | | #活动类型定义
|
| | | ActTypeList = (
|
| | | ActType_OpenComm, # 开服及常规运营活动 1
|
| | |
| | | ) = range(1, 1 + 3)
|
| | |
|
| | | #运营活动表名定义
|
| | | OperationActionName_ExpRate = "ActExpRate" # 多倍经验活动
|
| | | OperationActionName_SpringSale = "ActSpringSale" # 限时特惠活动
|
| | | OperationActionName_FlashGiftbag = "ActFlashGiftbag" # 限时礼包活动
|
| | | OperationActionName_DailyGiftbag = "ActDailyGiftbag" # 每日礼包活动
|
| | | OperationActionName_FairyCeremony = "ActFairyCeremony" # 仙界盛典活动
|
| | | OperationActionName_NewFairyCeremony = "ActNewFairyCeremony" # 仙界盛典活动
|
| | | OperationActionName_RealmPoint = "ActRealmPoint" # 多倍修行点活动
|
| | | OperationActionName_FlashSale = "ActFlashSale" # 限时抢购活动
|
| | | OperationActionName_WishingWell = "ActWishingWell" # 许愿池活动
|
| | | OperationActionName_Lunhuidian = "ActLunhuidian" # 轮回殿活动
|
| | |
|
| | | #所有的运营活动列表,默认都支持多活动分组编号的活动名
|
| | | OperationActionNameList = [OperationActionName_Lunhuidian]
|
| | |
|
| | | OperationActionName_TotalRecharge = "ActTotalRecharge" # 累计充值活动
|
| | | OperationActionName_LoginAward = "ActLoginAward" # 登录奖励活动
|
| | | OperationActionName_CollectWords = "ActCollectWords" # 集字活动
|
| | | OperationActionName_LuckyTreasure = "ActLuckyTreasure" # 幸运鉴宝活动
|
| | | OperationActionName_GrowupBuy = "ActGrowupBuy" # 成长必买活动
|
| | | OperationActionName_FeastLogin = "ActFeastLogin" # 节日登录活动
|
| | | OperationActionName_FeastWish = "ActFeastWish" # 节日祝福活动
|
| | | OperationActionName_ManyDayRecharge = "ActManyDayRecharge" # 多日连充活动
|
| | | OperationActionName_SingleRecharge = "ActSingleRecharge" # 单笔累充活动
|
| | | OperationActionName_Turntable = "ActTurntable" # 转盘活动
|
| | | OperationActionName_GodGift = "ActGodGift" # 天帝礼包活动
|
| | | OperationActionName_BuyOne = "ActBuyOne" # 买一送多活动
|
| | | OperationActionName_ActLoginNew = "ActLoginNew" # 登录活动-新
|
| | | OperationActionName_ActTask = "ActTask" # 活动任务
|
| | | OperationActionName_BuyCountGift = "ActBuyCountGift" # 购买次数礼包活动
|
| | | OperationActionName_FamilyCTGAssist = "ActFamilyCTGAssist" # 仙盟充值协助
|
| | | OperationActionName_Yunshi = "ActYunshi" # 运势活动
|
| | | OperationActionName_Lunhuidian = "ActLunhuidian" # 轮回殿活动
|
| | | #节日活动类型列表 - 该类型无视开服天,日期到了就开启
|
| | | FeastOperationActionNameList = [OperationActionName_GrowupBuy,
|
| | | OperationActionName_FeastLogin,
|
| | | OperationActionName_FeastWish,
|
| | | ]
|
| | | #所有的运营活动列表,含节日活动
|
| | | OperationActionNameList = [OperationActionName_ExpRate, |
| | | OperationActionName_SpringSale, |
| | | OperationActionName_FlashGiftbag, OperationActionName_FairyCeremony,
|
| | | OperationActionName_RealmPoint, OperationActionName_FlashSale,
|
| | | OperationActionName_WishingWell, OperationActionName_TotalRecharge,
|
| | | OperationActionName_LoginAward, |
| | | OperationActionName_NewFairyCeremony, OperationActionName_LuckyTreasure,
|
| | | OperationActionName_DailyGiftbag, OperationActionName_SingleRecharge,
|
| | | OperationActionName_CollectWords, OperationActionName_ManyDayRecharge,
|
| | | OperationActionName_Turntable,
|
| | | OperationActionName_GodGift,
|
| | | OperationActionName_BuyOne,
|
| | | OperationActionName_ActLoginNew, OperationActionName_ActTask,
|
| | | OperationActionName_BuyCountGift, OperationActionName_FamilyCTGAssist,
|
| | | OperationActionName_Yunshi,
|
| | | OperationActionName_Lunhuidian,
|
| | | ] + FeastOperationActionNameList
|
| | | #需要记录开启活动时的世界等级的运营活动
|
| | | NeedWorldLVOperationActNameList = [OperationActionName_FairyCeremony, OperationActionName_WishingWell, |
| | | OperationActionName_NewFairyCeremony, OperationActionName_FlashSale,
|
| | | OperationActionName_TotalRecharge,
|
| | | OperationActionName_FlashGiftbag,
|
| | | OperationActionName_SpringSale, OperationActionName_LuckyTreasure,
|
| | | OperationActionName_DailyGiftbag, OperationActionName_GrowupBuy,
|
| | | OperationActionName_Turntable,
|
| | | OperationActionName_CollectWords,
|
| | | OperationActionName_FeastLogin,
|
| | | OperationActionName_FeastWish,
|
| | | OperationActionName_ManyDayRecharge, OperationActionName_SingleRecharge,
|
| | | OperationActionName_GodGift,
|
| | | ]
|
| | |
|
| | | #支持多活动分组编号的活动名
|
| | | MultiActNumOperationActNameList = [OperationActionName_TotalRecharge, OperationActionName_CollectWords,
|
| | | OperationActionName_FlashGiftbag,
|
| | | OperationActionName_SpringSale, OperationActionName_FlashSale,
|
| | | OperationActionName_ManyDayRecharge, OperationActionName_SingleRecharge,
|
| | | OperationActionName_Turntable,
|
| | | OperationActionName_GodGift,
|
| | | OperationActionName_BuyOne,
|
| | | OperationActionName_ActLoginNew, OperationActionName_ActTask,
|
| | | OperationActionName_BuyCountGift, OperationActionName_FamilyCTGAssist,
|
| | | OperationActionName_Yunshi,
|
| | | OperationActionName_Lunhuidian,
|
| | | ]
|
| | | ##所有的运营活动列表,含节日活动
|
| | | #OperationActionNameList = [
|
| | | # OperationActionName_TotalRecharge,
|
| | | # OperationActionName_SingleRecharge,
|
| | | # OperationActionName_CollectWords, OperationActionName_ManyDayRecharge,
|
| | | # OperationActionName_BuyOne,
|
| | | # OperationActionName_ActLoginNew, OperationActionName_ActTask,
|
| | | # OperationActionName_BuyCountGift, OperationActionName_FamilyCTGAssist,
|
| | | # OperationActionName_Lunhuidian,
|
| | | # ]
|
| | | ##需要记录开启活动时的世界等级的运营活动
|
| | | #NeedWorldLVOperationActNameList = [OperationActionName_TotalRecharge,
|
| | | # OperationActionName_CollectWords,
|
| | | # OperationActionName_ManyDayRecharge, OperationActionName_SingleRecharge,
|
| | | # ]
|
| | |
|
| | | #跨服运营活动表名定义
|
| | | CrossActName_Lianqi = "CrossActLianqi" # 炼器 - 跨服
|
| | |
| | | CDBPlayerRefresh_168, # 战盟仓库积分
|
| | | CDBPlayerRefresh_Rune, # 符印精华点
|
| | | CDBPlayerRefresh_RuneSplinters, # 符印碎片 170
|
| | | CDBPlayerRefresh_RealmPoint, # 境界修炼点
|
| | | CDBPlayerRefresh_171, # 境界修炼点
|
| | | CDBPlayerRefresh_Ysog, # 魔精
|
| | | CDBPlayerRefresh_FamilyCoin, # 仙盟公会币
|
| | | CDBPlayerRefresh_ParryRateDef, # 抗格挡
|
| | |
| | | TYPE_Price_Gold_Paper_Money = 5 # 金钱类型,(先用礼券,再用金子)
|
| | | TYPE_Price_FamilyExp = 6 # 战盟经验
|
| | | TYPE_Price_10 = 10 # 战盟仓库积分
|
| | | TYPE_Price_RealmPoint = 13 # 境界修炼点
|
| | | TYPE_Price_13 = 13 # 境界修炼点
|
| | | TYPE_Price_Ysog = 14 # 魔精
|
| | | TYPE_Price_FamilyCoin = 15 # 仙盟公会贡献币
|
| | | TYPE_Price_FBHelpPoint = 16 # 副本助战积分, 废弃
|
| | |
| | | #TYPE_Price_RuneSplinters:CDBPlayerRefresh_RuneSplinters,
|
| | | #TYPE_Price_TreasureScore:CDBPlayerRefresh_TreasureScore,
|
| | | #TYPE_Price_BourseMoney:None,
|
| | | #TYPE_Price_RealmPoint:CDBPlayerRefresh_RealmPoint,
|
| | | #TYPE_Price_Ysog:CDBPlayerRefresh_Ysog,
|
| | | #TYPE_Price_Danjing:CDBPlayerRefresh_Danjing,
|
| | | #TYPE_Price_SoulDust:CDBPlayerRefresh_SoulDust,
|
| | |
| | | Def_GameRecType_PlayerOfflineUnprocessed, # 离线玩家待处理事件,playerID 307
|
| | | Def_GameRecType_ArenaRecord, # 演武场玩家挑战记录,playerID 308
|
| | | Def_GameRecType_BatPreset, # 战斗方案预设额外存储信息,playerID 309
|
| | | ) = range(300, 1 + 309)
|
| | | Def_GameRecType_Setting, # 前端自定义存储的设置内容,playerID 310
|
| | | ) = range(300, 1 + 310)
|
| | | #通用信息记录新 - 字典key配置,如果有配置,则可额外按对应记录Value值存储字典,方便快速取值,可配置Value编号 1~8,配空默认 Value1
|
| | | Def_GameRecValueKeyDict = {
|
| | | Def_GameRecType_Xiangong:[1],
|
| | | }
|
| | | #仅查看自己的记录
|
| | | Def_ViewGameRecSelfList = [Def_GameRecType_ArenaRecord, Def_GameRecType_BatPreset]
|
| | | Def_ViewGameRecSelfList = [Def_GameRecType_ArenaRecord, Def_GameRecType_BatPreset, Def_GameRecType_Setting]
|
| | |
|
| | | #UserData不使用json的记录类型
|
| | | UserDataNOJsonRecTypeList = []
|
| | |
| | | Def_UniversalGameRecType_FBHelpBattleCheckInPlayer, #助战玩家登记记录9
|
| | | Def_UniversalGameRecType_SkyTowerPassPlayer, #天星塔过关玩家记录10
|
| | | Def_UniversalGameRecType_ZhuXianBossRecord, #诛仙BOSS结算记录11
|
| | | Def_UniversalGameRecType_LuckyTreasure, #幸运鉴宝大奖记录12
|
| | | Def_UniversalGameRecType_12,
|
| | | Def_UniversalGameRecType_FairyDomain, #缥缈仙域事件次数记录13
|
| | | Def_UniversalGameRecType_Reward, # 通用奖励表(TopBar)14
|
| | | Def_UniversalGameRecType_ArenaBattleRecord, # 竞技场玩家挑战记录 15
|
| | | Def_UniversalGameRecType_CrossActInfo, # 跨服运营活动信息记录 16
|
| | | Def_UniversalGameRecType_FeastWish, #节日祝福大奖记录17
|
| | | Def_UniversalGameRecType_17,
|
| | | Def_UniversalGameRecType_ActWorldLVLimitInfo, # 运营活动世界等级限制开启信息 18
|
| | | Def_UniversalGameRecType_19,
|
| | | Def_UniversalGameRecType_20,
|
| | |
| | | C2S_GivePlayerResources = "C2S_GivePlayerResources" # 奖励玩家资源,货币、物品等
|
| | | C2S_SetPlayerNomalDict = "C2S_SetPlayerNomalDict" # 设置玩家字典值
|
| | | C2S_SendPlayerMail = "C2S_SendPlayerMail" # 发送玩家个人邮件
|
| | | C2S_TaofaMemContrib = "C2S_TaofaMemContrib" # 讨伐成员贡献信息
|
| | |
|
| | | # 游戏服 -> 跨服
|
| | | S2C_OnlineState = "S2C_OnlineState" # 玩家在线状态同步
|