| | |
| | | Def_CalcAttr_MainEquip, # 主装备 1
|
| | | Def_CalcAttr_HeroBook, # 武将图鉴 2
|
| | | Def_CalcAttr_Realm, # 官职 3
|
| | | ) = range(4)
|
| | | Def_CalcAttr_Gubao, # 古宝 4
|
| | | Def_CalcAttr_HJG, # 幻境阁 5
|
| | | ) = range(6)
|
| | |
|
| | | CalcAttrName = {
|
| | | Def_CalcAttr_LV:"主公等级",
|
| | | Def_CalcAttr_MainEquip:"主装备",
|
| | | Def_CalcAttr_HeroBook:"武将图鉴",
|
| | | Def_CalcAttr_Realm:"官职",
|
| | | Def_CalcAttr_Gubao:"古宝",
|
| | | Def_CalcAttr_HJG:"幻境阁",
|
| | | }
|
| | |
|
| | | ##-----------------------------------------------------------------------------------------------
|
| | |
| | | Def_ItemID_GoldMoney = 20 # 直接给仙玉
|
| | | Def_ItemID_SilverMoney = 22 # 直接给铜钱
|
| | | Def_ItemID_FamilyContribution = 26 # 直接给战盟贡献点
|
| | | Def_ItemID_FamilyActive = 28 # 直接给战盟活跃点
|
| | | Def_ItemID_SP = 29 # 直接给sp
|
| | | Def_ItemID_GoldPaper = 30 # 直接给绑玉/灵石
|
| | | Def_ItemID_RealmPoint = 24 # 直接给修行点
|
| | |
| | | Def_ItemID_GongdePoint = 530 # 直接给功德点
|
| | | Def_ItemID_FamilyFlagWarPoint = 540 # 直接给万界积分
|
| | | Def_ItemID_TongTianPoint = 720 # 直接给通天令经验点
|
| | | Def_ItemID_SuccessScore = 590 # 直接给成就积分
|
| | | Def_TransformItemIDList = [Def_ItemID_FamilyContribution, Def_ItemID_FamilyActive, Def_ItemID_SP, Def_ItemID_GoldPaper, |
| | | Def_TransformItemIDList = [Def_ItemID_FamilyContribution, Def_ItemID_SP, Def_ItemID_GoldPaper, |
| | | Def_ItemID_RealmPoint, Def_ItemID_SilverMoney, Def_ItemID_BossReborn, Def_ItemID_Ysog,
|
| | | Def_ItemID_SoulDust, Def_ItemID_SoulSplinters, Def_ItemID_SoulCore, Def_ItemID_Honor, Def_ItemID_GoldMoney,
|
| | | Def_ItemID_FuncSysPrivilege, Def_ItemID_FCPartyPoint, Def_ItemID_BTGMPoint, Def_ItemID_GuShenMoney,
|
| | | Def_ItemID_GongdePoint, Def_ItemID_TongTianPoint, Def_ItemID_SuccessScore,
|
| | | Def_ItemID_GongdePoint, Def_ItemID_TongTianPoint,
|
| | | Def_ItemID_FamilyFlagWarPoint]
|
| | | # 货币类型对应直接给货币物品ID
|
| | | MoneyItemIDDict = {IPY_GameWorld.TYPE_Price_Gold_Money:Def_ItemID_GoldMoney,
|
| | |
| | | Def_Effect_GivePlayerMoneyGold = 203 #给人物金钱 仙玉道具效果ID
|
| | | Def_Effect_AddDienstgrad = 204 #使用物品获得称号
|
| | | Def_Effect_UseItemGiveZhenQi = 205 #使用道具给予真气
|
| | | Def_Effect_ItemGiveFamilyActivity = 208 #使用道具给予仙盟活跃令
|
| | | Def_Effect_ItemGiveFamilyContribution = 209 #使用道具给予仙盟贡献
|
| | | Def_Effect_ItemAddExp = 213 #给经验道具
|
| | | Def_Effect_ItemAddLV = 214 #直接升级道具
|
| | |
| | | Def_Effect_ItemGiveMoney = 264 #通用给货币道具,A值数量,B值货币类型
|
| | | Def_Effect_GuajiAward = 266 #直接给挂机收益,A值分钟
|
| | | Def_Effect_ItemCount = 267 #自动转化为对应物品ID的个数,不存背包
|
| | | Def_Effect_GubaoPiece = 270 #古宝碎片效果ID, A值-古宝ID
|
| | | Def_Effect_TrainRealmLV = 272 #境界培养卡,值A-功能(1-坐骑;2-灵宠;3-灵器), 值B-境界
|
| | | Def_Effect_TiandaoQiyun = 273 #增加天道树气运;A值-增加值 效果值B: 领取是否默认直接使用
|
| | | Def_Effect_Face = 274 #头像物品;A值-头像ID
|
| | |
| | | Def_PetRoleGapLVMax = 5 # 宠物可出战的等级最多大于玩家等级数
|
| | | Def_Pet_ProcessHP_Tick = 3000 # 宠物回血间隔
|
| | |
|
| | | #---自动防外挂验证---
|
| | | #玩家字典用于连续自动检测不回复次数
|
| | | Def_Player_AutoCheck_Count = 'playerCheckCount0704'
|
| | |
|
| | | #角色记录是否使用外挂
|
| | | (
|
| | | Def_AutoCheck_State_Safe,
|
| | |
| | | Def_GameWallow_LV_Third, # 5Сʱ
|
| | | Def_GameWallow_LV_Max,
|
| | | )= range(0, 10)
|
| | |
|
| | | #---物品卖给商店商店类型记录---
|
| | | (
|
| | | Def_ShopType_NpcShop, #NPC商店
|
| | | Def_ShopType_LongSale, #远程贩售
|
| | | ) = range(1, 2+1)
|
| | |
|
| | | # 回合攻击战斗类型
|
| | | (
|
| | |
| | | Def_PlayerKey_BuyItemCnt = "BuyItemCnt" # 购买物品数量
|
| | | Def_PlayerKey_SpeedHorse = "SpeedHorse" # 骑乘时附加移动速度值
|
| | | Def_PlayerKey_QueryOpenServerAwardState = "QueryOpenServerAwardState" # 查询开服奖励状态
|
| | | Def_PlayerKey_QueryFamilyStoreTick = "QueryFamilyStoreTick" # 战盟仓库操作tick
|
| | |
|
| | | Def_PlayerKey_QueryMarkIdCardIndex = 'QueryMarkIdCardIndex' # 指定账号生成卡类型
|
| | | Def_PlayerKey_QueryNewGuyCardType = 'QueryNewGuyCardType' # 查询的新手卡类型
|
| | |
| | | Def_PlayerKey_ComboBuffProcessState = "ComboBuffProcessState" #持续性buff连击处理状态
|
| | | Def_PlayerKey_LvAwardQueryState = 'LvAwardQueryState' # 等级奖励领奖查询状态
|
| | | Def_PlayerKey_StoreQueryState = 'StoreQueryState' # 商店全服购买次数查询状态
|
| | | Def_PlayerKey_MysticalShopLastTime = 'MysticalShopLastTime' # 神秘商店刷新时间
|
| | | #===============================================================================
|
| | | # # 持续性buff伤害处理连击技能ID列表
|
| | | # # 因为释放一次技能后一段时间内是持续性的, 故连接判断效果仅处理一次, 持续时间内均受此效果影响, 不重复处理连击
|
| | |
| | | Def_PDictType_FlashSale, #限时抢购
|
| | | Def_PDictType_TJGNotify, # 脱机挂结果通知
|
| | | Def_PDictType_LVAward, # 等级奖励领取信息记录
|
| | | Def_PDictType_OpenServerCampaign, # 开服活动
|
| | | Def_PDictType_4, # 开服活动
|
| | | Def_PDictType_WeekParty, #周狂欢
|
| | | Def_PDictType_FeastWeekParty, # 节日巡礼
|
| | | Def_PDictType_LoginAward, # 登录奖励运营活动
|
| | |
| | | Def_Player_Dict_FirstLogin = "FirstLogin" # 首登标记 0-未首登; 1-首登过
|
| | | Def_GuideStateKeyCount = 8 # 引导状态key最大个数
|
| | | Def_Player_Dict_GuideState = "GuideState_%s" # 引导状态记录,参数为key个数编号
|
| | | Def_Player_Dict_VersionFix = "VersionFix_%s" # 版本修正标记,参数为key个数编号, 支持n个版本修正标记,每个key支持31个 |
| | | Def_Player_Dict_PrestigeAwardMark = "PrestigeAwardMark_7" # 领取威望物品奖励情况
|
| | | Def_Player_Dict_AutoCheckHack_Wait = "AutoCheckHackWait_10" #自动检测外挂验证中标识
|
| | | Def_Player_Dict_AutoCheckHack_Source = "AutoCheckHackSource_11" #自动检测外挂随机源
|
| | | Def_Player_Dict_AutoCheckHack_Type = "AutoCheckHackType_12" #自动检测外挂类型
|
| | | Def_Player_Dict_AutoCheckHack_State = "AutoCheckHackState_13" #自动检测外挂账号状态识别
|
| | | Def_Player_Dict_Captcha_WaitTick = "CaptchaWaitTick_14" #图形验证回复等待时间
|
| | | Def_Player_Dict_Captcha_WaitSign = "CaptchaWaitSign_15" #图形验证回复等待标识
|
| | | Def_Player_Dict_Captcha_ErrCount = 'CaptchaErrCount_16' #玩家回答错误次数
|
| | | Def_Player_Dict_Captcha_Answer = 'CaptchaAnswer_17' #图形验证码答案
|
| | | Def_Player_Dict_AutoCheckHack_ErrCnt = "AutoCheckHackErrCnt_19" #自动检测外挂随机源
|
| | | Max_StoryMissionNum = 99
|
| | | Def_Player_Dict_StoryMissionState = "StoryMissionState_%s" # 剧情任务编号完成状态, 参数(key编号), 按编号位记录
|
| | | Def_Player_Dict_TaskLastKillNPCID = "TaskLastKillNPCID" #任务上次随机击杀NPCID
|
| | | Def_Player_Dict_TaskLastVisitNPCID = "TaskLastVisitNPCID" #任务上次随机访问NPCID
|
| | | LittleHelperSetNumCount = 20 # 小助手设置编号个数
|
| | | LittleHelperValueCount = 6 # 小助手设置值个数
|
| | | Def_Player_Dict_LittleHelperValue = "LittleHelperValue%s_%s" # 小助手设置值存储, 参数(设置编号, value编号)
|
| | |
| | |
|
| | | Def_PlayerKey_CrossRegisterMap = "CrossRegisterMap" #跨服注册活动地图, dataMapID
|
| | |
|
| | | Def_Player_Dict_FamilyTechLV = "FamilyTechLV_%s" #家族科技等级, 参数(科技ID)
|
| | | Def_Player_Dict_RouteServerInitOK = "RouteServerInitOK_33" #RouteServer初始化成功(仅登陆一次)
|
| | | Def_Player_Dict_Wallow_LV = "GameWallowLV_34" #防沉迷等级
|
| | | Def_Player_Dict_Wallow_OfflineTime = "GameWallowOfflineTime_35" #防沉迷离线累积时间
|
| | |
| | | Def_Player_Dict_HasVIPClubNote = 'HasVIPClubNote_186' # 是否提示过vip升级可加入贵宾俱乐部信息
|
| | | Def_Player_Dict_PyPlayerAction = 'PyPlayerAction_187' # py自定义玩家状态
|
| | | Def_Player_Dict_FamilyLV = 'FamilyLV_189' # 玩家帮会等级
|
| | | Def_Player_UpdatePlayerNameCnt = "UpdatePlayerNameCnt_196" # 角色改名次数
|
| | | Def_Player_Dict_UpdatePlayerNameItemIndex = "UpdatePlayerNameItemIndex_198" # 改名物品在背包的位置
|
| | | Def_Player_Dict_UpdatePlayerName = "UpdatePlayerName_199" # 改名锁
|
| | | Def_Player_Dict_UpdateFamilyNameItemIndex = "UpdateFamilyNameItemIndex" # 改名物品在背包的位置
|
| | | Def_Player_Dict_UpdateFamilyName = "UpdateFamilyName" # 改名锁
|
| | | Def_Player_Dict_FamilyDayAward = "FamilyDayAward" # 仙盟每日奖励领奖记录
|
| | | Def_Player_Dict_FamilyDonateRecord = "FamilyDonateRecord" # 仙盟今日捐献记录,按位存储每种类型今日已捐献次数
|
| | | Def_Player_Dict_FamilyEmblemID = "FamilyEmblemID" # 仙盟徽章ID
|
| | | Def_Player_Rename = "Rename" # 是否已改名过
|
| | | Def_Player_Dict_FamilyZhenbaogeCut = "FamilyZhenbaogeCut" #珍宝阁今日是否已砍过价
|
| | | Def_Player_Dict_FamilyZhenbaogeBuy = "FamilyZhenbaogeBuy" #珍宝阁今日是否已购买过
|
| | |
|
| | | # 仙盟事务
|
| | | Def_Player_Dict_FamilyAffairRefreshFree = "FamilyAffairRefreshFree" # 今日已免费刷新事务次数
|
| | | Def_Player_Dict_FamilyAffairInfo = "FamilyAffairStar_%s" # 事务信息,星级*10+状态(0-无;1-进行中;2-已完成);参数(事务编号ID)
|
| | | Def_Player_Dict_FamilyAffairStartTime = "FamilyAffairStartTime_%s" # 事务开始时间戳,参数(事务编号ID)
|
| | | Def_Player_Dict_FamilyDonateCnt = "FamilyDonateCnt_%s" # 仙盟今日捐献次数,参数(捐献类型)
|
| | |
|
| | | Def_Player_Dict_DelPackIndex = "DelPackIndex215" # 装备回购不重排,只记录最旧的一个物品
|
| | |
|
| | |
| | |
|
| | | Def_PDict_TreasureFreeCount = "TreasureFreeCount_%s" # 寻宝今日已使用免费次数, 参数(寻宝类型)
|
| | | Def_PDict_TreasureCount = "TreasureCount_%s" # 寻宝次数, 参数(寻宝类型)
|
| | | Def_PDict_TreasureCountEx = "TreasureCountEx_%s" # 第x次x抽必出,按第x次单抽、10连抽记录, 参数(寻宝类型)
|
| | | Def_PDict_TreasureCountToday = "TreasureCountToday_%s" # 今日寻宝次数, 参数(寻宝类型)
|
| | | Def_PDict_TreasureLuck = "TreasureLuck_%s" # 寻宝当前幸运值, 参数(寻宝类型)
|
| | | Def_PDict_TreasureCntAward = "TreasureCntAward_%s" # 累计寻宝次数对应物品奖励领奖状态, 参数(寻宝类型)
|
| | | Def_PDict_TreasureGridCnt = "TreasureGridCnt_%s_%s" # 格子对应累计产出次数, 参数(寻宝类型, 格子编号)
|
| | |
|
| | | Def_Player_Dict_LastAutoOpenPackTick = "LastAutoOpenPackTick219_%s" #上一次自动购买的tick<背包类型>
|
| | |
|
| | | Def_PDict_OnlinePrizeNote = "OnlinePrizeNote" # 当日在线奖励领取信息
|
| | |
|
| | | Def_PDict_OpenSererDailyAward = "OpenSererDailyAward" # 开服每日奖励记录
|
| | | Def_PDict_CreateRoleAwardState = "CreateRoleAwardState" # 创角奖励领取记录
|
| | |
| | | Def_PDict_FirstChargeRecord = "FirstChargeRecord_%s" # 首充领取记录,按位记录首充第x天是否已领取,参数(首充ID)
|
| | | Def_PDict_FirstChargeTime = "FirstChargeTime_%s" # 首充充值时间戳,参数(首充ID)
|
| | | Def_PDict_IsReBorn = "Def_PDict_IsReBorn" # 是否回城复活
|
| | | Def_PDict_FamilyWarDailyReward = "FamilyWarDailyReward" # 王者仙盟每日俸禄领取状态
|
| | | Def_PDict_Family_Contribution = "FamilyContribution" #战盟贡献度
|
| | | Def_PDict_HasChange_FamilyActiveToContribution = "HasChangeContribution" #战盟活跃度已转化过贡献度
|
| | | Def_PDict_KillPlayerAddActive = "KillPlayerAddActiveByDay" # 杀人每日获得活跃度
|
| | | Def_PDict_LoginDayCnt = "PLoginDayCnt" # 累计登陆天数
|
| | | Def_PDict_LoginDayAward = "PLoginDayAward" # 累计登陆领取情况
|
| | | Def_PDict_CollNpcIDCollTime = "NPCIDCollTime_%s" # 采集NPCID对应每日对应采集次数,%sNPCID
|
| | | Def_PDict_CollNpcIDCollTimeTotal = "NPCIDCollTimeTotal_%s" # 采集NPCID对应对应采集总次数,%sNPCID
|
| | | Def_PDict_ShopItemDayBuyCnt = "ShopItemDayBuyCnt_%s" # 商店NPC商品已购买次数,itemIndex
|
| | | Def_PDict_ShopItemStartTime = "ShopItemStartTime_%s" # 神秘限购商品开卖时间,itemIndex
|
| | | Def_PDict_MysticalShopGoods = "MysticalShopGoods_%s" # 神秘商店商品ID,索引
|
| | | Def_PDict_MysticalShopRefreshCnt = "MysticalShopRefreshCnt" # 神秘商店已手动刷新次数
|
| | | Def_PDict_MysticalShopLVRefreshCnt = "MysticalShopLVRefreshCnt" # 神秘商店等级段刷新次数
|
| | | Def_PDict_MoneyMinus = "MoneyMinus_%s" # 货币对应负值, 参数[货币类型]
|
| | | Def_PDict_Currency = "PlayerCurrency_%s" # 自定义货币类型, 参数[自定义货币类型]
|
| | | Def_PDict_UseMoneyTotal = "UseMoneyTotal_%s" # 累计消耗货币, 参数[货币类型]
|
| | |
| | | Def_PDict_NPCKillCount = "NPCKillCount_%s" # NPC已击杀次数, 参数(NPCID) CCBBAA, AA存储公共装备次数,BB存储公共ID次数,CC存储私有次数
|
| | | Def_PDict_NPCAttackCount = "NPCAttackCount_%s" # NPC已攻击次数, 参数(NPCID)
|
| | |
|
| | | Def_PDict_RedPacketInviteGet = "RedPacketInviteGet" # 红包邀请领取
|
| | | Def_PDict_RedPacketGetState = "RedPacketGetState" # 红包领取状态
|
| | | Def_PDict_RedPacketGrabCnt = "RedPacketGrabCnt" # 抢红包次数
|
| | |
|
| | | Def_PDict_ItemUseCntToday = "ItemUseCntToday_%s" # 物品今日使用次数, 参数为物品ID
|
| | |
|
| | | Def_PDict_GodWeaponLV = "GodWeaponLV_%s" # 神器等级, 参数神器索引
|
| | |
| | |
|
| | | Def_PDict_DropCountToday = "DropCountToday_%s" # 今日物品已掉落次数,参数(物品ID)
|
| | | Def_PDict_DropColorToday = "DropColorToday_%s" # 今日装备品质已掉落次数,参数(装备品质)
|
| | |
|
| | | #商城
|
| | | Def_PDict_ShopBuyCnt = "ShopBuyCnt_%s" # 商店商品已购买次数,参数(商品ID)
|
| | | Def_PDict_ShopRandUnlock = "ShopRandUnlock_%s" # 商店随机刷新解锁的商品ID解锁状态,参数(key编号)
|
| | | Def_PDict_ShopRefreshCnt = "ShopRefreshCnt_%s" # 今日已刷新次数,参数(商店类型)
|
| | |
|
| | | # 签到
|
| | | Def_PDict_SignInState = "SignInState_%s" # 按位记录每日签到状态,参数(key编号),状态:0-不可签到;1-已签到;2-可补签;3-已领取
|
| | |
| | | Def_PDict_WishingWellItem = "WishingWellItem_%s_%s" # 物品ID,是否极品、是否绑定信息 参数(类型,物品数据)
|
| | | Def_PDict_WishingWellItemCnt = "WishingWellItemCnt_%s_%s" # 物品数量记录 参数(类型,物品数据)
|
| | |
|
| | | # 称号
|
| | | Def_PDict_TitleState = "TitleState_%s" # 称号状态,参数(key编号)
|
| | | Def_PDict_TitleEndTime = "TitleEndTime_%s" # 称号到期时间戳,0为永久,参数(称号ID)
|
| | | Def_PDict_TitleStar = "TitleStar_%s" # 称号星级,参数(称号ID)
|
| | |
|
| | | # 形象
|
| | | Def_PDict_ModelState = "ModelState_%s" # 形象状态,参数(key编号)
|
| | | Def_PDict_ModelEndTime = "ModelEndTime_%s" # 形象到期时间戳,0为永久,参数(形象ID)
|
| | | Def_PDict_ModelStar = "ModelStar_%s" # 形象星级,参数(形象ID)
|
| | |
|
| | | #头像
|
| | | Def_PDict_FaceState = "FaceState_%s" # 头像状态,参数(key编号)
|
| | | Def_PDict_FaceEndTime = "FaceEndTime_%s" # 头像到期时间戳,0为永久,参数(头像ID)
|
| | |
| | | Def_PDict_FacePicStar = "FacePicStar_%s" # 头像框星级,参数(头像框ID)
|
| | |
|
| | | #聊天气泡
|
| | | Def_PDict_ChatBubbleBoxState = "ChatBubbleBoxState_%s" # 聊天气泡状态, 参数(key编号)
|
| | | Def_PDict_ChatBoxState = "ChatBoxState_%s" # 聊天气泡状态, 参数(key编号)
|
| | | Def_PDict_ChatBoxEndTime = "ChatBoxEndTime_%s" # 到期时间戳,0为永久,参数(气泡ID)
|
| | | Def_PDict_ChatBoxStar = "ChatBoxStar_%s" # 星级,参数(气泡ID)
|
| | | Def_PDict_EmojiPackState = "EmojiPackState_%s" # 表情包状态,参数(key编号)
|
| | |
| | | Def_PDict_FamilyGCZSQGridItemCnt = "FamilyGCZSQItemCnt_%s" # 圣泉当前层格子抽中物品个数,参数(格子编号)
|
| | | #-------------------------------------------------------------------------------
|
| | |
|
| | | #开服活动,Def_PDictType_OpenServerCampaign
|
| | | #奖励记录 - 从低位到高位,每位表示:0-不可领;1-可领取;2-已领
|
| | | Def_PDict_OSC_BillAwardRecord = "OSCBillAwardRecord" # 开服活动排行奖励记录, 按活动类型位存储是否领取/处理过
|
| | | Def_PDict_OSC_TagAwardRecord = "OSCTagAwardRecord_%s" # 开服活动目标奖励记录, 参数(活动类型), 按奖励位存储是否领取
|
| | | Def_PDict_OSC_RecordData = "OSCRecordData_%s" # 开服活动记录数值, 求余亿部分,参数(活动类型)
|
| | | Def_PDict_OSC_RecordDataEx = "OSCRecordDataEx_%s" # 开服活动记录数值, 整除亿部分,参数(活动类型)
|
| | | Def_PDict_OSC_EndMailState = "EndMailState" # 开服活动结束发放邮件处理状态, 记录该状态的目的是防止开服活动版本变更导致旧号重复补发奖励;
|
| | |
|
| | | # 法器
|
| | | Def_PDict_FaQiLV = "FaQiLV" # 法器等级
|
| | | Def_PDict_FaQiEatItemCount = "FaQiEatItemCount" # 当前阶已吃丹个数
|
| | |
| | | Def_PDict_HorsePetSkinData = "HorsePetSkinData%d_%s" #觉醒等级*100+外观索引 参数(类型,关联ID) 1-坐骑 2-灵宠
|
| | | Def_PDict_HorsePetSkinExp = "HorsePetSkinExp%d_%s" #经验 参数(类型,关联ID) 1-坐骑 2-灵宠
|
| | |
|
| | | # 称号
|
| | | Def_PDict_TitleStar = "TitleStar_%s" # 称号星级,参数(称号ID)
|
| | |
|
| | | # 符印
|
| | | Def_PDict_Rune_HoleOpenState = "Rune_HoleOpenState" # 符印解锁状态
|
| | | Def_PDict_Rune_Data = "Rune_Data_%s" # 符印镶嵌数据, 参数(第几孔)
|
| | |
| | |
|
| | | Def_PDict_FightPower_List = [Def_PDict_FightPower_Total, Def_PDict_FightPower_TotalEx]
|
| | |
|
| | | # 每日活跃度
|
| | | Def_PDict_Activity_FinishCnt = "Activity_FinishCnt_%s" # 活跃度类型对应完成次数
|
| | | Def_PDict_Activity_AddTotal = "Activity_AddTotal_%s" # 活跃度类型对应获得活跃度总
|
| | | Def_PDict_Activity_TotalPoint = "Activity_TotalPoint" # 当前总活跃值(不可消耗)
|
| | | Def_PDict_ActivityAwardRecord = "ActivityAwardRecord" # 活跃度奖励领取记录,按二进制位标识
|
| | | Def_PDict_Activity_AwardStage = "Activity_AwardStage" # 当前活跃奖励阶段,对应不同境界段
|
| | | Def_PDict_Activity_ExtraRealmPoint = "Activity_ExtraRealmPoint" # 多倍活动额外获得的修行点
|
| | |
|
| | | # 活跃放置
|
| | | Def_PDict_ActivityCountTotal = "ActivityCountTotal" # 累计活跃放置修炼次数
|
| | | Def_PDict_ActivityCanCostTotalPoint = "ActivityCanCostTotalPoint" # 当前总活跃值(可消耗)
|
| | | Def_PDict_ActivityPlaceStartTime = "ActivityPlaceStartTime" # 活跃放置开始time值
|
| | | Def_PDict_ActivityPlaceRemainCount = "ActivityPlaceRemainCount" # 活跃放置剩余进行次数
|
| | | Def_PDict_ActivityPlaceRewardCount = "ActivityPlaceRewardCount" # 活跃放置本次启动已累计奖励次数
|
| | | Def_PDict_ActivityPlaceRewardTotalCount = "ActivityPlaceRewardTotalCount" # 活跃放置历史总共累计奖励次数
|
| | | Def_PDict_ActivityPlaceRewardItem = "ActivityPlaceItem" # 奖励物品个数
|
| | | Def_PDict_ActivityPlaceRewardItemID = "ActivityPlaceItemID_%s" # 奖励物品ID,参数(index)
|
| | | Def_PDict_ActivityPlaceRewardItemCount = "ActivityPlaceItemCount_%s" # 奖励物品个数,参数(index)
|
| | | Def_PDict_ActivityPlaceExpCount = "ActivityPlaceExpCount" # 活跃放置获得exp次数
|
| | | Def_PDict_ActivityPlaceTodayExp = "ActivityPlaceTodayExp" # 活跃放置今日获得exp
|
| | | Def_PDict_ActivityPlaceTodayExpPoint = "ActivityPlaceTodayExpPoint" # 活跃放置昨日获得exp 扩展值
|
| | | Def_PDict_ActivityPlaceYestorDayExp = "ActivityPlaceYestorDayExp" # 活跃放置昨日获得exp
|
| | | Def_PDict_ActivityPlaceYestorDayExpPoint = "ActivityPlaceYestorDayExpP" # 活跃放置昨日获得exp 扩展值
|
| | |
|
| | | # 每日活动
|
| | | Def_PDict_DailyActionDayTimes = "DailyActionDayTimes_%s" # 每日活动今日完成次数 参数每日活动ID
|
| | | Def_PDict_DailyActionDayBuyTimes = "DADayBuyTimes_%s" # 每日活动今日购买次数 参数每日活动ID
|
| | | Def_PDict_DailyActionDayItemTimes = "DADayItemTimes_%s" # 每日活动今日物品增加次数 参数每日活动ID
|
| | | Def_PDict_DailyActionWeekTimes = "DailyActionWeekTimes_%s" # 每日活动本周完成次数 参数每日活动ID
|
| | | #仙盟活跃
|
| | | Def_PDict_FamilyActivityFinishCnt = "FamilyActivityFinishCnt%s" # 已完成次数
|
| | | Def_PDict_FamilyActivityAwardRecord = "FamilyActivityAwardRecord" # 活跃度奖励领取记录,按二进制位标识
|
| | |
|
| | | # 投资理财
|
| | | Def_PDict_InvestTime = "InvestTime_%s" # 投资时的时间,参数为投资类型
|
| | | Def_PDict_InvestProgress = "InvestProgress_%s_%s" # 投资可领奖进度值,参数为(投资类型, key编号)
|
| | |
| | | Def_PDict_InvestKeyCount = 3 # key编号数
|
| | |
|
| | | # 成就 Def_PDictType_Success
|
| | | Def_PDict_Success_AwardRecord = "Succ_AwardRecord_%s" # 成就领奖记录,参数(key编号),按索引位存储0-未领,1-已领
|
| | | Def_PDict_Success_LastDay = "Succ_LastDay_%s" # 连续类型上一次更新进度时的开服天数,参数(成就编号)
|
| | | Def_PDict_Success_CntValue = "Su_%s_%s" # 当前次数值,参数(成就类型、条件)
|
| | | Def_PDict_Success_FinishTime = "Succ_FinishTime_%s" # 成就是否已完成,参数(索引)
|
| | | Def_PDict_Success_CheckVersion = "Succ_CheckVersion" #老玩家某些功能成就检查版本
|
| | | Def_PDict_Success_PassportAward = "Succ_PassportAward_%s" #成就通行证领奖状态,参数(key编号),按索引位存储0-未领,1-已领
|
| | | Def_PDict_Success_ScoreAward = "Succ_ScoreAward" # 成就积分奖励记录,按索引位存储0-未领,1-已领
|
| | | Def_PDict_SuccessValue = "Succ_%s_%s" # 当前次数值,参数(成就类型、条件)
|
| | | Def_PDict_SuccessAward = "Succ_Award_%s" # 成就领奖记录,按成就ID位存储0-未领,1-已领,参数(key编号)
|
| | |
|
| | | # 通天令
|
| | | Def_PDict_TTL_StartTime = "TTL_StartTime" # 本轮通天令开始时间戳
|
| | |
| | | Def_PDict_Boss_KillCntItemAddCnt = "Boss_KillCntItemAddCnt_%s" # 物品增加的当日可杀世界boss次数<%s-索引>
|
| | | Def_PDict_Boss_KillCntBuyCnt = "Boss_KillCntBuyCnt_%s" # 当日可杀世界boss次数的购买次数<%s-索引>
|
| | |
|
| | | #仙盟红包
|
| | | Def_PDict_FamilyRedPacketGoldLimit = "FmlRedPacketGoldLimit" # 仙盟钻石红包已发额度
|
| | | Def_PDict_FamilyRedPacketCache = "FamilyRedPacketCache%s" # 仙盟红包待发放记录参数索引
|
| | | Def_PDict_OSRedPacketGrabMoney = "OSRedPacketGrabMoney" # 开服红包已抢数量
|
| | | Def_PDict_OSRedPacketCanGrabCnt = "OSRedPacketCanGrabCnt" # 开服红包可抢次数
|
| | | Def_PDict_OSRedPacketStartTime = "OSRedPacketStartTime" #开服红包开始倒计时时间
|
| | | Def_PDict_ServerRedPacketGrabCnt = "ServerRedPacketGrabCnt" # 今日已抢全服红包次数
|
| | |
|
| | | #节日红包
|
| | | Def_PDict_FeastRedPacketActID = "FeastRedPacketActID" # 玩家身上的节日红包活动ID,唯一标识,取活动开始日期time值
|
| | | Def_PDict_FeastRedPacketGrabMoney = "FeastRedPacketGrabMoney" # 节日红包已抢数量
|
| | | Def_PDict_FeastRedPacketCanGrabCnt = "FeastRedPacketCanGrabCnt" # 节日红包可抢次数
|
| | |
|
| | | #境界
|
| | | Def_PDict_RealmTaskAwardState = "RealmTaskAwardState" #境界渡劫条件领奖状态,按二进制位存储是否已领取
|
| | | Def_PDict_RealmTaskValue = "RealmTaskValue_%s" #境界渡劫任务需要记录值,参数(任务ID)
|
| | |
| | | Def_PDict_CharmLV = "CharmLV" # 魅力等级
|
| | |
|
| | | #古宝
|
| | | Def_PDict_GubaoLVInfo = "GubaoLVInfo_%s" # 古宝等级信息,参数(古宝ID),等级*100+星级
|
| | | Def_PDict_GubaoItemEffValue = "GubaoItemEffValue_%s_%s" # 古宝效果物品进度,参数(古宝ID, 效果类型)
|
| | | Def_PDict_GubaoPiece = "GubaoPiece_%s" # 古宝碎片数,参数(古宝ID)
|
| | | Def_PDict_GubaoInfo = "Gubao_%s" # 古宝信息,参数(古宝ID),特殊效果层*100000 + 等级*100 + 星级
|
| | |
|
| | | #神通
|
| | | Def_PDict_ShentongLVInfo = "ShentongLVInfo_%s" # 神通等级信息,参数(神通ID),阶级*100+等级
|
| | |
| | | Def_PDict_TreeFreeTimeCnt = "TreeFreeTimeCnt" # 今日已领取免费减时次数,过天重置
|
| | | Def_PDict_TreeFreeTimeLast = "TreeFreeTimeLast" # 今日上次领取免费减时时间戳,过天重置
|
| | |
|
| | | #历练秘笈
|
| | | Def_PDict_LLMJLVInfo = "LLMJLVInfo" # 秘笈等级,消耗战锤*100 + 秘笈等级
|
| | | Def_PDict_LLMJExp = "LLMJExp" # 秘笈今日已额外获得经验
|
| | | Def_PDict_LLMJDecompose = "LLMJDecompose" # 秘笈今日已额外获得分解货币
|
| | |
|
| | | #任务,每个任务组有且仅有一个进行中的任务
|
| | | Def_PDict_TaskIDLast = "TaskIDLast_%s" # 上一次完成的任务ID,参数(任务组)
|
| | | Def_PDict_TaskID = "TaskID_%s" # 当前进行中的任务ID,参数(任务组)
|
| | | Def_PDict_TaskValue = "TaskValue_%s" # 当前进行中的任务进度,参数(任务组)
|
| | | Def_PDict_TaskState = "TaskState_%s" # 当前进行中的任务状态 0-无;1-进行中;2-已完成,参数(任务组)
|
| | |
|
| | | #每日任务,按任务类型累加进度
|
| | | Def_PDict_DailyTaskValue = "DTaskV_%s_%s" # 任务类型进度,参数(任务类型, 条件信息)
|
| | | Def_PDict_DailyTaskState = "DTaskState" # 每日任务是否已领取奖励,按任务ID二进制位存储是否已领取
|
| | | Def_PDict_ActivityTotal = "ActivityTotal" # 今日累计获得活跃度
|
| | | Def_PDict_ActivityAward = "ActivityAward" # 活跃度奖励领取记录,按二进制位标识
|
| | | Def_PDict_ActivityWeek = "ActivityWeek" # 每周活跃奖励第x轮,默认0第1轮
|
| | |
|
| | | #淘金
|
| | | Def_PDict_GoldRushCampState = "GoldRushCampState" # 已解锁营地状态,按营地ID二进制位运算判断是否已解锁
|
| | |
| | | Def_PDict_UnXiantaoCntEquip = "UnXiantaoCntEquip" # 累计未结算装备掉落的战锤数,有3位小数,即 1234 实际为 1.234
|
| | | Def_PDict_UnXiantaoCntBooty = "UnXiantaoCntBooty_%s" # 累计未结算战利品掉落的战锤数,参数(itemID)
|
| | | Def_PDict_BootyDropToday = "BootyDropToday_%s" # 今日已累计掉落战利品数量,参数(itemID)
|
| | | Def_PDict_AppointDropEquipCnt = "AppointDropEquipCnt" # 定制掉落装备掉落第x次,只记录到配置的最高次数
|
| | |
|
| | | #天子考验
|
| | | Def_PDict_TianziHisHurt = "TianziHisHurt_%s" # 历史最高伤害,求余亿部分,参数(bossID)
|
| | |
| | | ShareDefine.PlayerJob_Max : TYPE_CHAPLAIN, #魔剑对应魔剑系
|
| | | }
|
| | |
|
| | | #版本修正标记, 使用key格式 Def_Player_Dict_VersionFix
|
| | | (
|
| | | Def_VerFix_LingGenShow, #灵根特效外观
|
| | | ) = range(1)
|
| | |
|
| | | ##==================================================================================================
|
| | | #游戏消费点类型定义
|
| | | Def_CostType_List = (
|
| | |
| | | Def_Cost_Transport, # 传送 25
|
| | | Def_Cost_Treasure, # 寻宝
|
| | | Def_Cost_FamilyBroadcast, # 家族公告
|
| | | Def_Cost_FamilyRedPacket, # 发家族钻石红包
|
| | | Def_Cost_28, # 发家族钻石红包
|
| | | Def_Cost_EnterFB, # 进入副本
|
| | | Def_Cost_GameServer, # GameServer 30
|
| | | Def_Cost_FreeGoods, # 极品白拿
|
| | |
| | | Def_Cost_FBGatherSoulBoss, # 聚魂副本BOSS召唤 40
|
| | | Def_Cost_CrossRealmPK, # 跨服PK
|
| | | Def_Cost_LuckyTreasure, #幸运鉴宝
|
| | | Def_Cost_MysteryShopRefresh, # 神秘商店刷新
|
| | | Def_Cost_43, # 神秘商店刷新
|
| | | Def_Cost_AuctionBid, # 拍卖行竞价
|
| | | Def_Cost_BuyDailyActionCnt, # 购买活动次数 45
|
| | | Def_Cost_45, # 购买活动次数 45
|
| | | Def_Cost_46, # 副本买buff
|
| | | Def_Cost_CreatFamily, # 创建仙盟
|
| | | Def_Cost_BuyKillBossCnt, #购买boss次数
|
| | |
| | | Def_Cost_Reason_SonKey = "reason_name_son" # 消费点原因子类说明key
|
| | |
|
| | | # 消费返利不处理的消费类型列表
|
| | | CostRebate_DisableType = [Def_Cost_BourseBuy, Def_Cost_BourseCharge, Def_Cost_FreeGoods, Def_Cost_FamilyRedPacket,
|
| | | CostRebate_DisableType = [Def_Cost_BourseBuy, Def_Cost_BourseCharge, Def_Cost_FreeGoods,
|
| | | Def_Cost_Unknown, "GMSetMoney", "Warehouse", Def_Cost_AuctionBid]
|
| | |
|
| | | # 可在跨服中消费的类型列表
|
| | | MergeServerCanCostType = [Def_Cost_UseSpeaker, Def_Cost_Revive]
|
| | | #内部仙玉不能用的消费类型列表
|
| | | UnUseInner_CostType = [Def_Cost_BourseBuy, Def_Cost_FamilyRedPacket, Def_Cost_AuctionBid]
|
| | | UnUseInner_CostType = [Def_Cost_BourseBuy, Def_Cost_AuctionBid]
|
| | | # 消费类型对应信息字典{消费类型:[eventName, 中文说明reason_name, 发送给9377的数据是否分消费子类], }
|
| | | # 由于9377那边数据建议所有消费点总和最好不超过500个,故这里对部分发送给对方的数据进行归组为不分子类,或直接归属于商城分组
|
| | | # .使用原价购买的物品统一归属为商城组,消费对应为AutoBuy的也归属于商城分组
|
| | |
| | | Def_Cost_Rename:"Rename",
|
| | | Def_Cost_SkillLvUp:"SkillLvUp",
|
| | | Def_Cost_FamilyBroadcast:"FamilyBroadcast",
|
| | | Def_Cost_FamilyRedPacket:"FamilyRedPacket",
|
| | | Def_Cost_FreeGoods:"FreeGoods",
|
| | | Def_Cost_DogzEquipPlus:"DogzEquipPlus",
|
| | | Def_Cost_RuneHole:"RuneHole",
|
| | |
| | | Def_Cost_FBGatherSoulBoss:"FBGatherSoulBoss",
|
| | | Def_Cost_CrossRealmPK:"CrossRealmPK",
|
| | | Def_Cost_LuckyTreasure:"LuckyTreasure",
|
| | | Def_Cost_MysteryShopRefresh:"MysteryShopRefresh",
|
| | | Def_Cost_AuctionBid:"AuctionBid",
|
| | | Def_Cost_BuyDailyActionCnt:"BuyDailyActionCnt",
|
| | | Def_Cost_CreatFamily:"CreatFamily",
|
| | | Def_Cost_BuyKillBossCnt:"BuyKillBossCnt",
|
| | | Def_Cost_EquipStar:"EquipStar",
|
| | |
| | | Def_GiveMoney_Bourse, # 交易所 10
|
| | | Def_GiveMoney_GoldInvest, # 绑钻投资
|
| | | Def_GiveMoney_12, # 资源找回
|
| | | Def_GiveMoney_RedPacket, # 红包
|
| | | Def_GiveMoney_13, # 红包
|
| | | Def_GiveMoney_RefineGift, # 炼制奖励
|
| | | Def_GiveMoney_Mail, # 邮件(补偿) 15
|
| | | Def_GiveMoney_RuneDecompose, # 符印
|
| | |
| | | Def_GiveMoney_Pickup:"Pickup",
|
| | | Def_GiveMoney_Bourse:"Bourse",
|
| | | Def_GiveMoney_GoldInvest:"GoldInvest",
|
| | | Def_GiveMoney_RedPacket:"RedPacket",
|
| | | Def_GiveMoney_RefineGift:"RefineGift",
|
| | | Def_GiveMoney_Mail:"Mail",
|
| | | Def_GiveMoney_RuneDecompose:"RuneDecompose",
|
| | |
| | | ItemGive_StonePickoff, # 摘除宝石 10
|
| | | ItemGive_EquipSuit, # 套装
|
| | | ItemGive_NPCDrop, # NPC掉落
|
| | | ItemGive_OpenServerCampaign, # 开服活动
|
| | | ItemGive_13, # 开服活动
|
| | | ItemGive_CTG, # CTG
|
| | | ItemGive_DiceEx, # 我要天机 15
|
| | | ItemGive_FamilyStore, # 仙盟宝库
|
| | | ItemGive_16, # 仙盟宝库
|
| | | ItemGive_Refine, # 炼丹
|
| | | ItemGive_Chests, # 宝箱
|
| | | ItemGive_TrialExchange, # 宗门兑换
|
| | |
| | | ItemGive_StonePickoff:"StonePickoff",
|
| | | ItemGive_EquipSuit:"EquipSuit",
|
| | | ItemGive_NPCDrop:"NPCDrop",
|
| | | ItemGive_OpenServerCampaign:"OpenServerCampaign",
|
| | | ItemGive_CTG:"CTG",
|
| | | ItemGive_DiceEx:"DiceEx",
|
| | | ItemGive_FamilyStore:"FamilyStore",
|
| | | ItemGive_Refine:"Refine",
|
| | | ItemGive_Chests:"Chests",
|
| | | ItemGive_TrialExchange:"TrialExchange",
|
| | |
| | | ItemDel_AttrFruit, # 属性道具
|
| | | ItemDel_AddBourseItem, # 上架交易所
|
| | | ItemDel_EquipDecompose, # 装备分解
|
| | | ItemDel_FamilyStore, # 捐献装备 20
|
| | | ItemDel_20, # 捐献装备 20
|
| | | ItemDel_Treasure, # 寻宝
|
| | | ItemDel_WingExp, # 翅膀精炼经验
|
| | | ItemDel_StoneUpgrade, # 宝石升级
|
| | |
| | | ItemDel_AttrFruit:"AttrFruit",
|
| | | ItemDel_AddBourseItem:"AddBourseItem",
|
| | | ItemDel_EquipDecompose:"EquipDecompose",
|
| | | ItemDel_FamilyStore:"FamilyStore",
|
| | | ItemDel_Treasure:"Treasure",
|
| | | ItemDel_WingExp:"WingExp",
|
| | | ItemDel_StoneUpgrade:"StoneUpgrade",
|
| | |
| | | VIPPrivilege_20, #20 暮光神庙购买次数
|
| | | VIPPrivilege_21, #21 仙界秘境 - 副本总表统一处理
|
| | | VIPPrivilege_22, #22 宗门试炼购买次数
|
| | | VIPPrivilege_FamilyGoldPack, #23 仙盟钻石红包
|
| | | VIPPrivilege_23, #23 仙盟钻石红包
|
| | | VIPPrivilege_BoursePwd, #24 集市上架使用密码
|
| | | VIPPrivilege_25, #25 封魔坛购买次数 - 副本总表统一处理
|
| | | VIPPrivilege_26, #26 VIP被动技能孔——VIP4专属被动技能孔
|
| | |
| | | # 游戏功能奖励定义
|
| | | (
|
| | | Def_RewardType_Activity, # 活跃度奖励 0
|
| | | Def_RewardType_FamilyActivity, # 仙盟活跃度奖励 1
|
| | | Def_RewardType_ChampionFamilyDailyReward, # 仙盟联赛冠军仙盟每日俸禄奖励 2
|
| | | Def_RewardType_DailyTask, # 每日任务奖励 1
|
| | | Def_RewardType_LLMJLVUp, # 历练秘笈升级 2
|
| | | Def_RewardType_XMZZWinCnt, # 仙魔之争胜利场数奖励 3
|
| | | Def_RewardType_FamilyDayAward, # 仙盟每日福利奖励 4
|
| | | Def_RewardType_LVAward, # 玩家等级奖励5
|
| | |
| | | Def_RewardType_CritGodBoxCTG, #暴击神兵奖励 47
|
| | | Def_RewardType_GameNotice, #玩法前瞻奖励 48
|
| | | Def_RewardType_EnterGroup, #加群奖励49
|
| | | Def_RewardType_ShediaoRedpacket, #射雕红包奖励 50
|
| | | Def_RewardType_50, #射雕红包奖励 50
|
| | | Def_RewardType_ShediaoEquip, #射雕装备奖励 51
|
| | | Def_RewardType_CAAllRecharge, #跨服全民充值奖励 52
|
| | | Def_RewardType_CrossYaomoBossHurt, #跨服妖魔boss伤害奖励 53
|
| | |
| | | Def_RewardType_SponsorDaily, #赞助星级每日奖励 56
|
| | | Def_RewardType_SponsorStar, #赞助星级礼包奖励 57
|
| | | Def_RewardType_GubaoItemEff, #古宝特殊效果物品奖励 58
|
| | | Def_RewardType_SuccessScore, #成就积分奖励 59
|
| | | Def_RewardType_Success, #成就奖励 59
|
| | | Def_RewardType_BuyOne, #买一送多活动免费奖励 60
|
| | | Def_RewardType_CustomAward, #自定义奖励 61
|
| | | Def_RewardType_RealmXXZL, #境界修仙之路奖励 62
|
| | |
| | | PowerDownType_GatherSoul:'GatherSoul',
|
| | | }
|
| | |
|
| | | # CTG ID 定义
|
| | | Def_CTGID_SuccessPassport = 117 # 成就通行证
|
| | |
|
| | | # 通天令任务类型定义
|
| | | TTLTaskTypeList = (
|
| | | TTLTaskType_Activity, # 获取日常活跃度x 1
|
| | |
| | | TTLTaskType_CrossBoss, # 跨服boss击杀x次 18
|
| | | ) = range(1, 1 + 18)
|
| | |
|
| | | # 每日任务类型
|
| | | DailyTaskList = (
|
| | | DailyTask_KillNPC, # 击败X只怪物 1
|
| | | DailyTask_EquipDecompose, # 分解装备x次 2
|
| | | DailyTask_HeroCall, # 武将招募 3
|
| | | DailyTask_Arena, # 演武场 4
|
| | | DailyTask_GoldRush, # 淘金 5
|
| | | ) = range(1, 1 + 5)
|
| | |
|
| | | # 任务类型定义
|
| | | TaskTypeList = (
|
| | | TaskType_MainLevel, # 主线过关到xxx 1
|