From 476fb6e578f29c09d558187deeb215afe2e5bf59 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期四, 14 三月 2019 11:42:28 +0800 Subject: [PATCH] 6307 【后端】【2.0】多套装备开发单(优化代码) --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py index d7e90f7..2c635cb 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py @@ -226,6 +226,7 @@ ## 玩家所属服务器组ID def GetPlayerServerGroupID(curPlayer): return curPlayer.GetExAttr13() +def SetPlayerServerGroupID(curPlayer, groupID): return curPlayer.SetExAttr13(groupID) ## 是否脱机挂机状态 def GetIsTJG(curPlayer): -- Gitblit v1.8.0