From 9d5ec7599f3abe0cebb76ce1df3c3b8c4e0aa51e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 10 二月 2026 11:40:15 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(跨服聊天;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
index d8d748e..67c0d89 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
@@ -19,13 +19,13 @@
import GameWorld
import PlayerControl
import ChPyNetSendPack
-import PlayerBillboard
+import IPY_PlayerDefine
import NetPackCommon
import IpyGameDataPY
-import PlayerFamily
import PyMongoMain
import PlayerTask
import DirtyList
+import ChPlayer
def OnPlayerLogin(curPlayer):
if curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Rename):
@@ -88,12 +88,9 @@
clientPack.PlayerName = curPlayer.GetPlayerName()
NetPackCommon.SendFakePack(curPlayer, clientPack)
- #同步其他功能玩家名
- PlayerFamily.RefreshFamilyMember(curPlayer)
- PlayerBillboard.UpdatePlayerBillboardName(curPlayer)
- #社交名待更新
+ ChPlayer.OnPlayerBaseInfoChange(curPlayer, IPY_PlayerDefine.CDBPlayerRefresh_PlayerName) # 玩家名
- PlayerTask.AddTaskValue(curPlayer, ChConfig.TaskType_Rename, 1)
+ PlayerTask.UpdTaskValue(curPlayer, ChConfig.TaskType_Rename)
return
def GetPlayerFullName(curPlayer, playerName):
--
Gitblit v1.8.0