| | |
| | | import GameLogic_ElderBattlefield
|
| | | import GameLogic_FamilyBoss
|
| | | import GameLogic_FamilyWar
|
| | | import GameLogic_Dogz
|
| | | import OpenServerCampaign
|
| | | import PlayerCostRebate
|
| | | import PlayerActTotalRecharge
|
| | | import PlayerSpringSale
|
| | | import PlayerBossReborn
|
| | | import PlayerWeekParty
|
| | | import PlayerFeastWeekParty
|
| | | import PlayerActLogin
|
| | | import PlayerFlashGiftbag
|
| | | import PlayerFairyCeremony
|
| | | import PlayerNewFairyCeremony
|
| | | import PlayerFeastRedPacket
|
| | | import PlayerLuckyTreasure
|
| | | import PlayerRefineStove
|
| | | import PlayerFlashSale
|
| | | import PlayerWishingWell
|
| | |
| | | pack = IPY_GameWorld.IPY_MBroadcastMsg()
|
| | | msg = pack.GetMsg()
|
| | |
|
| | | if not msg.startswith(ShareDefine.Def_Notify_WorldKey_GameWorldBossReborn[:-2]):
|
| | | if not msg.startswith(ShareDefine.Def_Notify_WorldKey_GameWorldBossReborn[:-3]):
|
| | | GameWorld.Log('GameServer_BroadcastMsg msg = %s'%(msg))
|
| | | #---接收世界服务器发来的消息---
|
| | |
|
| | |
| | |
|
| | | elif actionName == ShareDefine.OperationActionName_FairyCeremony:
|
| | | PlayerFairyCeremony.RefreshOperationAction_FairyCeremony()
|
| | | |
| | | |
| | | elif actionName == ShareDefine.OperationActionName_NewFairyCeremony:
|
| | | PlayerNewFairyCeremony.RefreshOperationAction_NewFairyCeremony()
|
| | | |
| | | elif actionName == ShareDefine.OperationActionName_FlashSale:
|
| | | PlayerFlashSale.RefreshflashSaleActionInfo()
|
| | |
|
| | | elif actionName == ShareDefine.OperationActionName_WishingWell:
|
| | | PlayerWishingWell.RefreshWishingWellAction()
|
| | |
|
| | | elif actionName == ShareDefine.OperationActionName_WeekParty:
|
| | | PlayerWeekParty.RefreshOperationAction_WeekParty()
|
| | | |
| | | elif actionName == ShareDefine.OperationActionName_LoginAward:
|
| | | PlayerActLogin.RefreshOperationAction_LoginAward()
|
| | | |
| | | elif actionName == ShareDefine.OperationActionName_FeastWeekParty:
|
| | | PlayerFeastWeekParty.RefreshOperationAction_FeastWeekParty()
|
| | | |
| | | elif actionName == ShareDefine.OperationActionName_FeastRedPacket:
|
| | | PlayerFeastRedPacket.RefreshOperationAction_FeastRedPacket()
|
| | | |
| | | elif actionName == ShareDefine.OperationActionName_LuckyTreasure:
|
| | | PlayerLuckyTreasure.RefreshLuckyTreasureAction()
|
| | | return
|
| | | |
| | | if key == ShareDefine.Def_Notify_WorldKey_CrossZoneName:
|
| | | PyGameData.g_crossZoneName = msgValue
|
| | | return
|
| | |
|
| | | if msgValue.isdigit():
|
| | |
| | | # 活动buff状态变更
|
| | | elif key.startswith(ShareDefine.Def_Notify_WorldKey_ActionBuffState[:-2]):
|
| | | PlayerAction.OnActionBuffStateChange(key, tick)
|
| | | #boss刷新时间参数
|
| | | elif key.startswith(ShareDefine.Def_Notify_WorldKey_BossOnlineHeroCnt[:-2]):
|
| | | GameLogic_Dogz.OnOnlineCntChange(key, tick)
|
| | | |
| | | #===============================================================================
|
| | | # ---修改为上述的 统一字典处理
|
| | | # if msg == ChConfig.Def_Notify_Key_PurTalk:
|