6373 【后端】【2.0】删除无用功能代码、封包、配置(腾讯相关)
| | |
| | | # 玩家字典按数位存储数据个数
|
| | | Def_PDictDigitCnt = 9
|
| | |
|
| | | # 副本评分类型
|
| | | (
|
| | | ScoreType_TimeConsume, # 耗时结算类型
|
| | | ScoreType_KillStat, # 击杀怪物统计
|
| | | ScoreType_NewGuySuperShow, # 击杀怪物统计
|
| | | ScoreType_GetItem, # 获得物品奖励统计
|
| | | ScoreType_RedFortReward, # 打开客户端frmRedFortReward
|
| | | )=range(5)
|
| | |
|
| | | ScoreTypeName = "TScore"
|
| | |
|
| | | Def_QQPlatVIPTypeList = (
|
| | | Def_QQPlatVIP_Yellow, #黄钻
|
| | | Def_QQPlatVIP_Blue, #蓝钻
|
| | | ) = range(1, 3)
|
| | |
|
| | | # VIP类型定义
|
| | | (
|
| | | Def_VIPType_Not, # 非VIP
|
| | |
| | | Def_PDictType_Reincarnation, # 转生
|
| | | Def_PDictType_GreatMaster, # 大师
|
| | | Def_PDictType_BloodElf, # Ѫħ
|
| | | Def_PDictType_28,
|
| | | Def_PDictType_29,
|
| | | Def_PDictType_QQ, # QQ相关
|
| | | ) = range(31)
|
| | | ) = range(28)
|
| | |
|
| | | # 玩家字典key定义规则, key的长度不能超过29个字节, 注意尽量避免命名重复
|
| | | # 新增参数TYPE 用于字典分类,默认0
|
| | |
| | | Def_PDict_OnMonthEx = "OnMonthEx" # 特殊时间点凌晨X点过月
|
| | | Def_Player_Dict_PlayerFromPID = "PlayerFromPID" # pid
|
| | | Def_Player_Dict_Account_Type = "account_type" # account_type
|
| | | Def_Player_Dict_TencentPF = "tencentPF" # 腾讯平台来源pf
|
| | | Def_Player_Dict_FirstLogin = "FirstLogin" # 首登标记 0-未首登; 1-首登过
|
| | | Def_GuideStateKeyCount = 8 # 引导状态key最大个数
|
| | | Def_Player_Dict_GuideState = "GuideState_%s" # 引导状态记录,参数为key个数编号
|
| | |
| | | Def_PDict_Success_CntValue = "Su_%s_%s" # 当前次数值,参数(成就类型、条件)
|
| | | Def_PDict_Success_FinishTime = "Succ_FinishTime_%s" # 成就是否已完成,参数(索引)
|
| | | Def_PDict_Success_CheckVersion = "Succ_CheckVersion" #老玩家某些功能成就检查版本
|
| | |
|
| | | # QQ相关 Def_PDictType_QQ
|
| | | Def_PDict_QQUpYellowAwardRecord = "QQUpYellowAwardRecord" # QQ成长礼包奖励是否已领取(黄钻)
|
| | | Def_PDict_QQUpBlueAwardRecord = "QQUpBlueAwardRecord" # QQ成长礼包奖励是否已领取(蓝钻)
|
| | | Def_PDict_QQNewManAwardRecord = "QQNewManAwardRecord" # QQ新手礼包奖励是否已领取
|
| | | Def_PDict_QQDayGiftAwardRecord = "QQDayGiftAwardRecord" # QQ每日礼包奖励是否已领取
|
| | | Def_PDict_QQTaskMarketRecord = "QQTaskMarketRecord_%s" # 任务集市领奖记录, 参数为任务记录编号
|
| | |
|
| | | Def_Tencent_PF_List = ["tencent", "qzone", "pengyou","qplus","qqgame","3366"] # 腾讯平台来源pf
|
| | |
|
| | | # qzone |
| | | Def_PDict_QzoneUpAwardRecord = "QzoneUpAwardRecord" # qzone成长礼包奖励是否已领取
|
| | | Def_PDict_QzoneNewManAwardRecord = "QzoneNewManRecord" # qzone新手礼包奖励是否已领取
|
| | | Def_PDict_QzoneDayAwardRecord = "QQDayGiftRecord" # qzone每日礼包奖励是否已领取
|
| | |
|
| | | # 转生 Def_PDictType_Reincarnation
|
| | | Def_PDict_Reinc_Reiki = "Reinc_Reiki" # 当前转生灵力
|
| | |
| | | # # 消费VIP
|
| | | # PlayerCostVIP.CostVIPOnLogin(curPlayer, tick)
|
| | | #
|
| | | # # QQ相关奖励OnLogin
|
| | | # #PlayerQQ.Sync_QQAllAwardRecord(curPlayer)
|
| | | # |
| | | # # 世界boss
|
| | | BossHurtMng.OnLogin(curPlayer)
|
| | | ChItem.Sync_ItemDayUseCnt(curPlayer)
|
| | |
| | | pid = result[2]
|
| | | platform = result[3]
|
| | | account_type = result[4]
|
| | | |
| | | if platform in ChConfig.Def_Tencent_PF_List:
|
| | | pf = ChConfig.Def_Tencent_PF_List.index(platform) + 1
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_TencentPF, pf)
|
| | | else:
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_TencentPF, 0)
|
| | |
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_PlayerFromPID, pid)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_Account_Type, account_type)
|
| | |
| | | # 玩家字典按数位存储数据个数
|
| | | Def_PDictDigitCnt = 9
|
| | |
|
| | | # 副本评分类型
|
| | | (
|
| | | ScoreType_TimeConsume, # 耗时结算类型
|
| | | ScoreType_KillStat, # 击杀怪物统计
|
| | | ScoreType_NewGuySuperShow, # 击杀怪物统计
|
| | | ScoreType_GetItem, # 获得物品奖励统计
|
| | | ScoreType_RedFortReward, # 打开客户端frmRedFortReward
|
| | | )=range(5)
|
| | |
|
| | | ScoreTypeName = "TScore"
|
| | |
|
| | | Def_QQPlatVIPTypeList = (
|
| | | Def_QQPlatVIP_Yellow, #黄钻
|
| | | Def_QQPlatVIP_Blue, #蓝钻
|
| | | ) = range(1, 3)
|
| | |
|
| | | # VIP类型定义
|
| | | (
|
| | | Def_VIPType_Not, # 非VIP
|