From 4180ba5f28c47d15a33d99973e2034f5337ab3fc Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 20 十二月 2022 17:04:17 +0800
Subject: [PATCH] 9731 【越南】【主干】【BT7】【BT8】转职业(转职附加重置灵根属性点)
---
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmMsg.py | 74 ++++++++++++++++++++++++++++++++++++-
1 files changed, 72 insertions(+), 2 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmMsg.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmMsg.py
index f876c01..20b9244 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmMsg.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmMsg.py
@@ -17,14 +17,18 @@
import GameWorld
import ShareDefine
+import PlayerAssist
import PlayerControl
import CrossLuckyCloudBuy
import IPY_GameServer
import CrossRealmPlayer
import PlayerCompensation
import CrossActionControl
+import CrossActAllRecharge
+import CrossChampionship
import CrossBattlefield
import CrossBillboard
+import CrossYaomoBoss
import GameWorldBoss
import CrossRealmPK
import PlayerQuery
@@ -121,6 +125,9 @@
elif msgType == ShareDefine.ClientServerMsg_AddBuff:
MapServer_CrossAddBuff(msgData)
+ elif msgType == ShareDefine.ClientServerMsg_CrossAssist:
+ PlayerAssist.ClientServerMsg_CrossAssist(serverGroupID, msgData, tick)
+
elif msgType == ShareDefine.ClientServerMsg_BattlefieldBuyOpen:
CrossBattlefield.ClientServerMsg_BattlefieldBuyOpen(serverGroupID, msgData)
@@ -132,6 +139,33 @@
elif msgType == ShareDefine.ClientServerMsg_BattlefieldCallChange:
CrossBattlefield.ClientServerMsg_BattlefieldCallChange(serverGroupID, msgData)
+
+ elif msgType == ShareDefine.ClientServerMsg_ChampionshipOfficialApply:
+ CrossChampionship.ClientServerMsg_ChampionshipOfficialApply(serverGroupID, msgData)
+
+ elif msgType == ShareDefine.ClientServerMsg_ChampionshipOfficialApplyReply:
+ CrossChampionship.ClientServerMsg_ChampionshipOfficialApplyReply(serverGroupID, msgData)
+
+ elif msgType == ShareDefine.ClientServerMsg_ChampionshipOfficialKick:
+ CrossChampionship.ClientServerMsg_ChampionshipOfficialKick(serverGroupID, msgData)
+
+ elif msgType == ShareDefine.ClientServerMsg_ChampionshipOfficialLeave:
+ CrossChampionship.ClientServerMsg_ChampionshipOfficialLeave(serverGroupID, msgData)
+
+ elif msgType == ShareDefine.ClientServerMsg_ChampionshipOfficialChallenge:
+ CrossChampionship.ClientServerMsg_ChampionshipOfficialChallenge(serverGroupID, msgData)
+
+ elif msgType == ShareDefine.ClientServerMsg_ChampionshipGuess:
+ CrossChampionship.ClientServerMsg_ChampionshipGuess(serverGroupID, msgData)
+
+ elif msgType == ShareDefine.ClientServerMsg_ChampionshipWorship:
+ CrossChampionship.ClientServerMsg_ChampionshipWorship(serverGroupID, msgData)
+
+ elif msgType == ShareDefine.ClientServerMsg_ActAllRechargeValue:
+ CrossActAllRecharge.ClientServerMsg_ActAllRechargeValue(serverGroupID, msgData)
+
+ elif msgType == ShareDefine.ClientServerMsg_CrossYaomoBossHurtAward:
+ CrossYaomoBoss.ClientServerMsg_CrossYaomoBossHurtAward(serverGroupID, msgData)
# 需要发送到地图服务器处理的
elif msgType in [ShareDefine.ClientServerMsg_Reborn, ShareDefine.ClientServerMsg_CollectNPC]:
@@ -162,10 +196,13 @@
'''
CrossRealmPlayer.Sync_CrossCommInitDataToClientServer(serverGroupID)
CrossRealmPK.Sync_CrossPKInitDataToClientServer(tick, serverGroupID)
+ CrossChampionship.Sync_CrossChampionshipDataToClientServer(serverGroupID)
CrossBattlefield.Sync_CrossBattlefieldDataToClientServer(serverGroupID)
CrossBoss.Sync_CrossBossInitDataToClientServer(serverGroupID)
CrossActionControl.Sync_CrossActInfoToClientServer(serverGroupID)
CrossLuckyCloudBuy.Sync_LuckyCloudBuyDataToClientServer(tick, serverGroupID)
+ CrossActAllRecharge.Sync_AllRechargeDataToClientServer(serverGroupID)
+ CrossYaomoBoss.Sync_CrossYaomoBossDataToClientServer(serverGroupID)
PlayerCompensation.Sync_CrossMailPlayerIDToClientServer(serverGroupID)
return
@@ -216,8 +253,8 @@
'''
if not GameWorld.IsCrossServer():
return
- if not dataMsg:
- return
+ #if not dataMsg:
+ # return
if serverGroupIDList == None:
serverGroupIDList = []
@@ -314,6 +351,33 @@
elif msgType == ShareDefine.CrossServerMsg_BattlefieldOver:
CrossBattlefield.CrossServerMsg_BattlefieldOver(msgData)
+ elif msgType == ShareDefine.CrossServerMsg_ChampionshipState:
+ CrossChampionship.CrossServerMsg_ChampionshipState(msgData)
+
+ elif msgType == ShareDefine.CrossServerMsg_ChampionshipPlayer:
+ CrossChampionship.CrossServerMsg_ChampionshipPlayer(msgData)
+
+ elif msgType == ShareDefine.CrossServerMsg_ChampionshipGroup:
+ CrossChampionship.CrossServerMsg_ChampionshipGroup(msgData)
+
+ elif msgType == ShareDefine.CrossServerMsg_ChampionshipGuess:
+ CrossChampionship.CrossServerMsg_ChampionshipGuess(msgData, tick)
+
+ elif msgType == ShareDefine.CrossServerMsg_ChampionshipOfficial:
+ CrossChampionship.CrossServerMsg_ChampionshipOfficial(msgData)
+
+ elif msgType == ShareDefine.CrossServerMsg_ChampionshipDailyOfficial:
+ CrossChampionship.CrossServerMsg_ChampionshipDailyOfficial(msgData)
+
+ elif msgType == ShareDefine.CrossServerMsg_ActAllRechargeInfo:
+ CrossActAllRecharge.CrossServerMsg_ActAllRechargeInfo(msgData)
+
+ elif msgType == ShareDefine.CrossServerMsg_CrossDailyActionState:
+ CrossActionControl.CrossServerMsg_CrossDailyActionState(msgData)
+
+ elif msgType == ShareDefine.CrossServerMsg_CrossYaomoBossHurtInfo:
+ CrossYaomoBoss.CrossServerMsg_CrossYaomoBossHurtInfo(msgData)
+
elif msgType == ShareDefine.CrossServerMsg_SyncBillboard:
CrossBillboard.CrossServerMsg_SyncBillboard(msgData, tick)
@@ -322,6 +386,9 @@
elif msgType == ShareDefine.CrossServerMsg_CrossBossState:
CrossBoss.CrossServerMsg_CrossBossState(msgData)
+
+ elif msgType == ShareDefine.CrossServerMsg_CrossAssist:
+ PlayerAssist.CrossServerMsg_CrossAssist(msgData, tick)
elif msgType == ShareDefine.CrossServerMsg_CrossActInfo:
CrossActionControl.CrossServerMsg_CrossActInfo(msgData)
@@ -341,6 +408,9 @@
elif msgType == ShareDefine.CrossServerMsg_EnterFBRet:
PlayerFB.CrossServerMsg_EnterFBRet(msgData, tick)
+ elif msgType == ShareDefine.CrossServerMsg_EnterVSRoomRet:
+ PlayerFB.CrossServerMsg_EnterVSRoomRet(msgData, tick)
+
elif msgType == ShareDefine.CrossServerMsg_SendMail:
PlayerCompensation.CrossServerMsg_SendMail(msgData)
--
Gitblit v1.8.0