|  |  |  | 
|---|
|  |  |  | #import PlayerFamilyStore | 
|---|
|  |  |  | import PlayerSocial | 
|---|
|  |  |  | import PlayerFamilyParty | 
|---|
|  |  |  | import PlayerSealDemon | 
|---|
|  |  |  | #import PlayerSealDemon | 
|---|
|  |  |  | import PlayerBillboard | 
|---|
|  |  |  | import PlayerLVAward | 
|---|
|  |  |  | import PlayerDuJie | 
|---|
|  |  |  | 
|---|
|  |  |  | import IPY_PlayerDefine | 
|---|
|  |  |  | import CrossRealmPK | 
|---|
|  |  |  | import AuctionHouse | 
|---|
|  |  |  | import PlayerAssist | 
|---|
|  |  |  | import PlayerFB | 
|---|
|  |  |  | #--------------------------------------------------------------------- | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | #仙盟宴会 | 
|---|
|  |  |  | PlayerFamilyParty.OnPlayerLogin(curPlayer) | 
|---|
|  |  |  | #封魔坛 | 
|---|
|  |  |  | PlayerSealDemon.OnPlayerLogin(curPlayer) | 
|---|
|  |  |  | #PlayerSealDemon.OnPlayerLogin(curPlayer) | 
|---|
|  |  |  | #仙魔之争 | 
|---|
|  |  |  | PlayerXMZZ.OnXMZZOnLogin(curPlayer) | 
|---|
|  |  |  | #等级奖励 | 
|---|
|  |  |  | 
|---|
|  |  |  | GameWorldActionControl.OnPlayerLogin(curPlayer) | 
|---|
|  |  |  | #玩家等级记录 | 
|---|
|  |  |  | PyGameData.g_todayPlayerLVDict[curPlayer.GetID()] = curPlayer.GetLV() | 
|---|
|  |  |  | #副本助战 | 
|---|
|  |  |  | PlayerFBHelpBattle.OnHelpPlayerLogin(curPlayer) | 
|---|
|  |  |  | #跨服PK | 
|---|
|  |  |  | CrossRealmPK.OnPlayerLogin(curPlayer) | 
|---|
|  |  |  | #诛仙BOSS | 
|---|
|  |  |  | PlayerZhuXianBoss.OnPlayerLogin(curPlayer) | 
|---|
|  |  |  | #骑宠boss状态通知 | 
|---|
|  |  |  | PlayerHorsePetBoss.OnLogin(curPlayer) | 
|---|
|  |  |  | #协助 | 
|---|
|  |  |  | PlayerAssist.OnPlayerLogin(curPlayer, False) | 
|---|
|  |  |  | GMT_CTG.OnPlayerLogin(curPlayer) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | else: | 
|---|
|  |  |  | #协助 | 
|---|
|  |  |  | PlayerAssist.OnPlayerLogin(curPlayer, True) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def __UpdOnedayJobPlayerLoginoffTime(curPlayer): | 
|---|
|  |  |  | 
|---|
|  |  |  | SetPlayerOfflineTime(curPlayer) | 
|---|
|  |  |  | #拍卖行 | 
|---|
|  |  |  | AuctionHouse.OnPlayerLeaveServer(curPlayer) | 
|---|
|  |  |  | #协助 | 
|---|
|  |  |  | PlayerAssist.OnLeaveServer(curPlayer) | 
|---|
|  |  |  | #------------镖车逻辑 | 
|---|
|  |  |  | #TruckPlayerDisconnectProcess(curPlayer, tick) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if not PlayerControl.GetIsTJG(curPlayer): | 
|---|
|  |  |  | playerID = curPlayer.GetPlayerID() | 
|---|
|  |  |  | PyGameData.g_unTJLogoffTime[playerID] = int(time.time()) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ## 设置玩家离线时间 | 
|---|
|  |  |  | 
|---|
|  |  |  | PlayerControl.SetGMForbidenTalk(curPlayer, packValue) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if packType == ShareDefine.CDBPlayerRefresh_ExAttr17: | 
|---|
|  |  |  | PlayerControl.SetPlayerAccState(curPlayer, packValue) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if packType == IPY_GameServer.CDBPlayerRefresh_State: | 
|---|
|  |  |  | # 脱机在线 | 
|---|
|  |  |  | PlayerControl.SetIsTJG(curPlayer, packValue) | 
|---|
|  |  |  | 
|---|
|  |  |  | if packType == IPY_GameServer.CDBPlayerRefresh_ExAttr2: | 
|---|
|  |  |  | #队伍相关相关审核开关状态 | 
|---|
|  |  |  | PlayerTeam.SetTeamCheckState(curPlayer, packValue) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #if packType == IPY_GameServer.CDBPlayerRefresh_ExAttr1: | 
|---|
|  |  |  | #    PlayerControl.SetAssistTagPlayerID(curPlayer, packValue) | 
|---|
|  |  |  | #    return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if packType == IPY_GameServer.CDBPlayerRefresh_ExAttr3: | 
|---|
|  |  |  | PlayerControl.SetFBFuncLineID(curPlayer, packValue) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #---常规逻辑处理--- | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | elif packType == IPY_GameServer.CDBPlayerRefresh_ExAttr10: | 
|---|
|  |  |  | PlayerControl.SetChatBubbleBox(curPlayer, packValue) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | elif packType == IPY_GameServer.CDBPlayerRefresh_ExAttr11: | 
|---|
|  |  |  | PlayerControl.SetTodayXianyuanCoin(curPlayer, packValue) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | elif packType == IPY_GameServer.CDBPlayerRefresh_ExAttr13: | 
|---|
|  |  |  | PlayerControl.SetPlayerServerGroupID(curPlayer, packValue) | 
|---|