| | |
| | | import OperControlManager
|
| | | import PlayerFamily
|
| | | import ShareDefine
|
| | | import PlayerViewCache
|
| | | import PlayerBillboard
|
| | | import GameServerRefresh
|
| | | import IPY_GameWorld
|
| | |
| | | import PlayerWorldAverageLv
|
| | | import PlayerActivity
|
| | | import FBCommon
|
| | | import PlayerViewCacheTube
|
| | | import PassiveBuffEffMng
|
| | | import PlayerGameEvent
|
| | | import EventReport
|
| | |
| | | import PlayerActGarbageSorting
|
| | | import GY_Query_CrossRealmReg
|
| | | import PlayerTongTianLing
|
| | | import PlayerCrossRealmPK
|
| | | import FunctionNPCCommon
|
| | | import DBPlayerViewCache
|
| | | import PlayerGoldInvest
|
| | | import IPY_PlayerDefine
|
| | | import CrossRealmPlayer
|
| | |
| | | # @param mergeMapInfo 该提示所属的跨服活动地图信息, 主要用于不同子服对应所跨的活动地图ID
|
| | | # @return 无返回值
|
| | | def WorldNotify(country, msgMark, msgParamList=[], lineID=0, mergeMinOSD=-1, mergeMaxOSD=-1, mergeMapInfo=[]):
|
| | | GameWorld.GetPlayerManager().BroadcastCountry_NotifyCode(country, 0, msgMark, __GetNotifyCodeList(msgParamList), lineID)
|
| | | #GameWorld.GetPlayerManager().BroadcastCountry_NotifyCode(country, 0, msgMark, __GetNotifyCodeList(msgParamList), lineID)
|
| | | playerManager = GameWorld.GetPlayerManager()
|
| | | for i in xrange(playerManager.OnlineCount()):
|
| | | curPlayer = playerManager.OnlineAt(i)
|
| | | if not GameWorld.IsNormalPlayer(curPlayer):
|
| | | continue
|
| | | NotifyCode(curPlayer, msgMark, msgParamList)
|
| | | return
|
| | |
|
| | | def GetCrossWorldNotifyInfo(country, msgMark, msgParamList=[]):
|
| | |
| | | # @return 无返回值
|
| | | # @remarks
|
| | | def FamilyNotify(familyID, msgMark, msgParamList=[]):
|
| | | GameWorld.GetPlayerManager().BroadcastCountry_NotifyCode(0, familyID, msgMark, __GetNotifyCodeList(msgParamList))
|
| | | #GameWorld.GetPlayerManager().BroadcastCountry_NotifyCode(0, familyID, msgMark, __GetNotifyCodeList(msgParamList))
|
| | | PlayerFamily.NotifyAllFamilyMemberMsg(familyID, msgMark, msgParamList)
|
| | | return
|
| | |
|
| | | #---------------------------------------------------------------------
|
| | |
| | | PlayerBillboard.UpdatePlayerBillboardOnLeaveServer(curPlayer) #排行榜已实时更新,故下线不再同步
|
| | |
|
| | | #玩家下线通知gameserver记录缓存(放在下线更新排行榜之后,方便Gameserver判断是否需要存入数据库中)
|
| | | PlayerViewCacheTube.OnPlayerLogOut(curPlayer, tick)
|
| | | DBPlayerViewCache.OnPlayerLogout(curPlayer)
|
| | | PlayerViewCache.OnPlayerLogout(curPlayer)
|
| | | PlayerFamily.OnPlayerLogout(curPlayer)
|
| | |
|
| | | #玩家下线/玩家切换地图公用逻辑
|