| | |
| | | import PlayerControl
|
| | | import IPY_GameServer
|
| | | import DataRecordPack
|
| | | import json
|
| | | import cPickle
|
| | | #---------------------------------------------------------------------
|
| | |
|
| | | ## 设置玩家家族行为
|
| | |
| | | # @return None
|
| | | def MapServer_PlayerFamilyActionNote(curPlayer, actionType, actionData, tick):
|
| | |
|
| | | actionDataList = json.loads(actionData)
|
| | | actionDataList = cPickle.loads(actionData)
|
| | |
|
| | | familyId = curPlayer.GetFamilyID()
|
| | |
|
| | |
| | | #GameWorld.DebugLog("普通成员不记录家族官员模型装备信息!")
|
| | | return
|
| | |
|
| | | modelEquipInfoList = PlayerViewCache.GetPlayerCacheEquipView(playerID)
|
| | | modelEquipInfoList = []
|
| | | #modelEquipInfoList = PlayerViewCache.GetPlayerCacheEquipView(playerID)
|
| | | if not modelEquipInfoList:
|
| | | #GameWorld.DebugLog("找不到家族官员模型装备信息, 不记录!familyID=%s,playerID=%s" % (familyID, playerID))
|
| | | return
|