| | |
| | | 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)
|
| | |
|
| | | # 下线
|