| | |
| | | import PlayerActivity
|
| | | import PlayerTeHui
|
| | | import FBCommon
|
| | | import HighLadderTube
|
| | | import PlayerBindJadeWheel
|
| | | import BossHurtMng
|
| | | import PlayerAction
|
| | | import PlayerAttrFruit
|
| | |
| | | GameFuncComm.DoFuncOpenLogic(curPlayer)
|
| | | # 神兽
|
| | | PlayerDogz.OnPlayerLogin(curPlayer)
|
| | | # 神兽副本
|
| | | GameLogic_Dogz.SyncNPCRefreshTime(curPlayer.GetID())
|
| | | # 骑宠
|
| | | FamilyRobBoss.OnPlayerLogin(curPlayer)
|
| | | # 绑玉转盘
|
| | | PlayerBindJadeWheel.OnDay(curPlayer)
|
| | |
|
| | | # 上线查询一次充值订单
|
| | | curPlayer.SendDBQueryRecharge()
|
| | |
| | | sendPack.Clear()
|
| | | sendPack.Record = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_DownloadAwardState)
|
| | | NetPackCommon.SendFakePack(curPlayer, sendPack)
|
| | | return |
| | | return
|
| | |
|
| | | def NotifyPlayerMove(curPlayer, posX, posY, npcID=0):
|
| | | '''通知前端向某个点移动
|
| | | 这里前端可能需要针对某次移动做额外处理,比如移动到某个点后需要自动战斗等
|
| | | 所以这里只做通知前端可以向某个点移动,最终移动由前端发起
|
| | | '''
|
| | | sendPack = ChPyNetSendPack.tagMCNotifyPlayerMove()
|
| | | sendPack.Clear()
|
| | | sendPack.PosX = posX
|
| | | sendPack.PosY = posY
|
| | | sendPack.NPCID = npcID
|
| | | NetPackCommon.SendFakePack(curPlayer, sendPack)
|
| | | return
|