From 6641154f22dbfafdd14f047f7a2491a9bbeae723 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 27 十月 2025 14:10:43 +0800
Subject: [PATCH] 16 卡牌服务端(优化榜单,增加更新时间字段;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
index e1c405f..e252abc 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
@@ -16,6 +16,7 @@
#-------------------------------------------------------------------------------
import GameWorld
+import PlayerFamily
import PlayerControl
import IPY_GameWorld
import ChPyNetSendPack
@@ -148,6 +149,7 @@
randFace = random.choice(defaultFaceIDList) if defaultFaceIDList else 0
curPlayer.SetFace(randFace)
GameWorld.DebugLog("玩家佩戴的头像被删除,随机重置默认头像! randFace=%s" % randFace, playerID)
+ PlayerFamily.RefreshFamilyMember(curPlayer)
if isRefreshAttr:
RefreshFaceAttr(curPlayer)
@@ -198,6 +200,7 @@
return
GameWorld.DebugLog("头像幻化! faceID=%s" % (faceID), playerID)
curPlayer.SetFace(faceID)
+ PlayerFamily.RefreshFamilyMember(curPlayer)
return
def OnFaceStarUP(curPlayer, faceID):
@@ -351,6 +354,7 @@
randFacePic = random.choice(defaultFacePicIDList) if defaultFacePicIDList else 0
curPlayer.SetFacePic(randFacePic)
GameWorld.DebugLog("玩家佩戴的头像框过期,随机重置默认头像框! randFacePic=%s" % randFacePic, playerID)
+ PlayerFamily.RefreshFamilyMember(curPlayer)
if isRefreshAttr:
RefreshFacePicAttr(curPlayer)
@@ -396,6 +400,7 @@
return
GameWorld.DebugLog("头像框幻化! facePicID=%s" % (facePicID), playerID)
curPlayer.SetFacePic(facePicID)
+ PlayerFamily.RefreshFamilyMember(curPlayer)
return
def OnFacePicStarUP(curPlayer, facePicID):
--
Gitblit v1.8.0