| | |
| | | def GetChatBubbleBox(curPlayer): return curPlayer.GetExAttr10()
|
| | | def SetChatBubbleBox(curPlayer, value): return curPlayer.SetExAttr10(value)
|
| | |
|
| | | ##伴侣ID
|
| | | def GetCoupleID(curPlayer): return curPlayer.GetExAttr11()
|
| | | def SetCoupleID(curPlayer, coupleID): return curPlayer.SetExAttr11(coupleID)
|
| | |
|
| | | ##玩家主动退出仙盟时间(<100代表退出次数)
|
| | | def SetLeaveFamilyTime(curPlayer, value, isSyncMap=True):
|
| | | curPlayer.SetExAttr12(value)
|
| | |
| | |
|
| | | #------------------------------------------------------------------------------
|
| | |
|
| | | def MapServer_QueryPlayer_DoLogic(tagPlayer, callName, cmdInfo, srcPlayerID=0, queryType=0):
|
| | | ## 通知目标玩家地图执行 DoLogic
|
| | | tagPlayerID = tagPlayer.GetPlayerID()
|
| | | tagMapID = tagPlayer.GetRealMapID()
|
| | | if tagMapID:
|
| | | cmdStr = str(cmdInfo)
|
| | | GameWorld.Log("MapServer_QueryPlayer_DoLogic: %s, cmdInfo=%s,tagPlayerID=%s,tagMapID=%s" |
| | | % (callName, cmdInfo, tagPlayerID, tagMapID), srcPlayerID)
|
| | | #MapServer_QueryPlayer(int srcPlayerID, int queryType, int queryID, int mapID, char *callName, char *cmd,WORD cmdLen, int RouteServerIndex)
|
| | | GameWorld.GetPlayerManager().MapServer_QueryPlayer(srcPlayerID, 0, tagPlayerID, tagMapID, callName,
|
| | | cmdStr, len(cmdStr), tagPlayer.GetRouteServerIndex())
|
| | | return
|
| | |
|
| | | ## 增加成就完成进度
|
| | | # @param curPlayer
|