| | |
| | | InitPlayerOnLineReply(curPlayer, tick)
|
| | | # 统计登入人数
|
| | | GameDataRecord.PlayerLoginRecord(curPlayer, tick)
|
| | | __DoPlayerLoginServer(curPlayer, tick)
|
| | | |
| | | #通知地图服务器自己初始化成功
|
| | | curPlayer.MapServer_InitOK()
|
| | | return
|
| | |
|
| | | def __DoPlayerLoginServer(curPlayer, tick):
|
| | | ''' 玩家登录需要处理的内容,本服及跨服服务器分开
|
| | | '''
|
| | | if GameWorld.IsCrossServer():
|
| | | #跨服PK
|
| | | CrossRealmPK.OnPlayerLoginCrossServer(curPlayer)
|
| | | return
|
| | | |
| | | #玩家家族刷新
|
| | | #家族任务需要刷新 FamilyLV, 地图服务器需要知道FamilyLV来通知玩家家族任务次数
|
| | | PlayerFamily.PlayerLoginRefreshFamily(curPlayer, tick)
|
| | |
| | |
|
| | | GMShell.OnPlayerLogin(curPlayer)
|
| | | GMT_CTG.OnPlayerLogin(curPlayer)
|
| | | |
| | | #通知地图服务器自己初始化成功
|
| | | curPlayer.MapServer_InitOK()
|
| | | return
|
| | |
|
| | | ## 增加高手玩家上线广播
|