| | |
| | | import IpyGameDataPY
|
| | | import PlayerTalk
|
| | | import PlayerGeTui
|
| | | import PlayerStore
|
| | | import GameWorldActionControl
|
| | | import GMT_CTG
|
| | | import PyGameData
|
| | | import GMShell
|
| | | #---------------------------------------------------------------------
|
| | |
|
| | | #---------------------------------------------------------------------
|
| | |
| | | #通知玩家登陆信息,来自运营方
|
| | | #DoLogic_LoginUserData(curPlayer)
|
| | |
|
| | | #通知开服天数
|
| | | PlayerEventCounter.Sync_OpenServerDay(curPlayer)
|
| | | #通知开服天数, 登录时改为地图通知,因为GameServer的PlayerLogin在地图之后,前端有些功能处理需要提前得到开服天
|
| | | #PlayerEventCounter.Sync_OpenServerDay(curPlayer)
|
| | | # 通知广播信息
|
| | | GMCommon.SendBroadCastToClient(curPlayer)
|
| | |
|
| | |
| | | PlayerXMZZ.OnXMZZOnLogin(curPlayer)
|
| | | #等级奖励
|
| | | PlayerLVAward.OnPlayerLogin(curPlayer)
|
| | | |
| | | #商店购买次数
|
| | | PlayerStore.OnPlayerLogin(curPlayer)
|
| | | #通知世界boss信息
|
| | | GameWorldBoss.OnPlayerLogin(curPlayer)
|
| | | #家族副本boss状态通知
|
| | |
| | | #玩家等级记录
|
| | | PyGameData.g_todayPlayerLVDict[curPlayer.GetID()] = curPlayer.GetLV()
|
| | |
|
| | | GMShell.OnPlayerLogin(curPlayer)
|
| | | GMT_CTG.OnPlayerLogin(curPlayer)
|
| | |
|
| | | #通知地图服务器自己初始化成功
|
| | |
| | | def MSGetReward(curPlayer):
|
| | | #PlayerCanGetReward.SynClient_CanGetRewardList(curPlayer)
|
| | | return
|
| | |
|
| | |
|
| | | ## 通知首次开服时间
|
| | | # @param curPlayer: 玩家实例
|
| | | # @return: None
|
| | | def Sync_InitOpenServerTime(curPlayer):
|
| | | # initOpenServerTime = PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_InitOpenServerTime)
|
| | | # packData = ChPyNetSendPack.tagInitOpenServerTime()
|
| | | # packData.Clear()
|
| | | # packData.Time = initOpenServerTime
|
| | | # NetPackCommon.SendFakePack(curPlayer, packData)
|
| | | return
|
| | | |
| | |
|
| | | ## 运营登陆信息处理
|
| | | # @param curPlayer
|