From 926ef31dc85a95af6da30307da9191e40a0a79ea Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 12 三月 2019 16:36:38 +0800
Subject: [PATCH] 6328 【后端】优化代码eval -- 玩家缓存数据提取常用字段 等级和最后一次发送时间

---
 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