| | |
| | | import PlayerFuncTeam
|
| | | import PyDataManager
|
| | | import GameWorldMineArea
|
| | | import PlayerPackData
|
| | | import PlayerRecData
|
| | | import GameWorship
|
| | | import GameXiangong
|
| | |
| | | CrossYaomoBoss.OnPlayerLogin(curPlayer)
|
| | | #玩家记录
|
| | | PlayerRecData.OnPlayerLogin(curPlayer)
|
| | | |
| | | PlayerPackData.OnPlayerLogin(curPlayer)
|
| | | #在线状态变更,放最后
|
| | | __OnPlayerOnlineStateChange(curPlayer, True)
|
| | |
|
| | |
| | | cacheBase = msgData["cacheBase"]
|
| | |
|
| | | isLogout = not isOnline
|
| | | olMgr = GetOnlinePlayerMgr()
|
| | | olMgr.SetOnlineState(playerID, isOnline, cacheBase.get("ServerGroupID", 0))
|
| | | |
| | | PlayerViewCache.UpdCrossCacheBase(playerID, cacheBase, isLogout)
|
| | | serverID = GameWorld.GetAccIDServerID(cacheBase["AccID"])
|
| | |
|
| | | # 上线
|
| | | if isOnline:
|
| | | PlayerPackData.OnPlayerLogin_CrossLogic(serverGroupID, serverID, playerID)
|
| | | GameXiangong.OnPlayerLogin_CrossLogic(serverGroupID, serverID, playerID)
|
| | |
|
| | | # 下线
|
| | |
| | | elif packType == IPY_GameServer.CDBPlayerRefresh_Face:
|
| | | curPlayer.SetFace(packValue)
|
| | | PlayerBillboard.UpdateBillboardFace(curPlayer)
|
| | | elif packType == IPY_GameServer.CDBPlayerRefresh_HairColor:
|
| | | #c++头像外框 用头发颜色通知 - 遗漏问题
|
| | | curPlayer.SetFacePic(packValue)
|
| | | PlayerBillboard.UpdateBillboardFacePic(curPlayer)
|
| | |
|
| | | #社交信息
|
| | | PlayerSocial.UpdateSocialInfo(curPlayer.GetID(), packType, packValue)
|