xdh
2018-12-07 23772c7a582ffd920706330d52b8603e9859ef4c
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py
@@ -220,7 +220,12 @@
def SetTodayXianyuanCoin(curPlayer, value): return curPlayer.SetExAttr11(value)
##玩家主动退出仙盟时间(<100代表退出次数)
def SetLeaveFamilyTime(curPlayer, value): return curPlayer.SetExAttr12(value)
def SetLeaveFamilyTime(curPlayer, value, isSyncMap=True):
    curPlayer.SetExAttr12(value)
    if isSyncMap:
        sysMsg = '%s'%value
        curPlayer.MapServer_QueryPlayerResult(0, 0, "SetLeaveFamilyTime", sysMsg, len(sysMsg))
    return
def GetLeaveFamilyTime(curPlayer):return curPlayer.GetExAttr12()
## 是否脱机挂机状态