From 514d0a393b2935c988697702ce34cec22a15623c Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 19 九月 2024 19:21:47 +0800 Subject: [PATCH] 10261 【越南】【砍树】【英文】头像框,头像(动态)(B902 B908 A404 A405 B001 B004 B005 C015 C018封包支持;) --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py index 1de01c2..bf3468f 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py @@ -76,6 +76,9 @@ import CrossBattlefield import CrossFamilyFlagwar import CrossActAllRecharge +import PlayerActGubao +import PlayerActHorsePetTrain +import PlayerActXianXiaMJ import PlayerActBossTrial import PlayerActFamilyCTGAssist import ChPyNetSendPack @@ -87,6 +90,7 @@ import PlayerTurnFight import GameWorldArena import GameWorldItem +import PlayerRecData import PlayerAssist import PlayerLove @@ -702,6 +706,30 @@ PlayerActBossTrial.MapServer_BossTrial(curPlayer, eval(resultName)) return + # 仙匣秘境 + if callName == "XianXiaMJ": + curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) + if not curPlayer: + return + PlayerActXianXiaMJ.MapServer_XianXiaMJ(curPlayer, eval(resultName)) + return + + # 古宝养成 + if callName == "ActGubao": + curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) + if not curPlayer: + return + PlayerActGubao.MapServer_Gubao(curPlayer, eval(resultName)) + return + + # 骑宠养成 + if callName == "ActHorsePetTrain": + curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) + if not curPlayer: + return + PlayerActHorsePetTrain.MapServer_HorsePetTrain(curPlayer, eval(resultName)) + return + #py喇叭聊天 if callName == 'PYSpeaker': curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) @@ -723,6 +751,13 @@ GameWorldFamilyWar.MapServer_FamilyWarOver(eval(resultName)) return + # 增加玩家Rec数据 + if callName == "AddPlayerRec": + curPlayer = None if not srcPlayerID else GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) + recType, valueList, userData, notifyType = eval(resultName) + PlayerRecData.MapServer_AddPlayerRec(curPlayer, recType, valueList, userData, notifyType) + return + # 删除通用玩家Rec数据 if callName == "AddUniversalGameRec": curPlayer = None if not srcPlayerID else GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) -- Gitblit v1.8.0