|  |  | 
 |  |  | import PlayerControl
 | 
 |  |  | import PyGameData
 | 
 |  |  | import IpyGameDataPY
 | 
 |  |  | import PlayerDBGSEvent
 | 
 |  |  | import PlayerTeam
 | 
 |  |  | import GameWorld
 | 
 |  |  | import ChConfig
 | 
 |  |  | 
 |  |  |         if curPlayer.GetFamilyID() in PyGameData.g_swrhJoinRecord:
 | 
 |  |  |             PlayerControl.NotifyCode(curPlayer, "TheEmperor1")
 | 
 |  |  |             return
 | 
 |  |  |          | 
 |  |  |     #多仙盟BOSS 是否已结束
 | 
 |  |  |     elif tagMapID == ChConfig.Def_FBMapID_AllFamilyBoss:
 | 
 |  |  |         if not PlayerFamilyBoss.IsInAllFamilyBoss(tagLineID):
 | 
 |  |  |             #活动未开启
 | 
 |  |  |             return
 | 
 |  |  |         if PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_AllFamilyBossTime):
 | 
 |  |  |             #BOSS已被击杀
 | 
 |  |  |             return
 | 
 |  |  |     # MapServer_QueryPlayer(int srcPlayerID, int queryType, int queryID, int mapID, char *callName, char *cmd,WORD cmdLen, int RouteServerIndex)
 | 
 |  |  |     playerManager.MapServer_QueryPlayer(curPlayer.GetPlayerID(), ChConfig.queryType_EnterFB, 0, tagMapID,
 | 
 |  |  |                 queryCallName, sendCMD, len(sendCMD), curPlayer.GetRouteServerIndex())
 |