From 8a132929e7184bc274b742d3e25b93782c65e9ef Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 12 十二月 2025 14:32:56 +0800
Subject: [PATCH] 16 卡牌服务端(后台查看玩家、物品)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
index a9c21b0..b35c897 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
@@ -25,7 +25,6 @@
 import ItemControler
 import PlayerOnline
 import ChConfig
-import ObjPool
 
 GubaoEffType_GoldRush = 1 # 参与淘金
 GubaoEffType_Arena = 2 # 参与演武场
@@ -433,7 +432,7 @@
             # 没有指定时只同步激活的
             continue
         lv, star, layer = GetGubaoInfo(curPlayer, gubaoID)
-        gubao = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagMCGubao)
+        gubao = ChPyNetSendPack.tagMCGubao()
         gubao.GubaoID = gubaoID
         gubao.GubaoLV = lv
         gubao.GubaoStar = star
@@ -443,7 +442,7 @@
     if not gubaoInfoList:
         return
     
-    clientPack = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagMCGubaoInfo)
+    clientPack = ChPyNetSendPack.tagMCGubaoInfo()
     clientPack.GubaoInfoList = gubaoInfoList
     clientPack.Count = len(clientPack.GubaoInfoList)
     NetPackCommon.SendFakePack(curPlayer, clientPack)

--
Gitblit v1.8.0