|  |  |  | 
|---|
|  |  |  | # queryType为accID,发送的信息就是玩家的AccID | 
|---|
|  |  |  | playerAccID = playerFind | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 返回playerid,判断是否在线 | 
|---|
|  |  |  | if data == '%s'%GMCommon.Def_GMKey_PlayerName: | 
|---|
|  |  |  | return GMCommon.Def_DoQueryLogDB, playerAccID | 
|---|
|  |  |  |  | 
|---|
|  |  |  | collection = userdb[UCN_DBPlayer] | 
|---|
|  |  |  | dbPlayer = DataServerPlayerData.tagDBPlayer() | 
|---|
|  |  |  | dbPlayer.IsDeleted = 0 | 
|---|
|  |  |  | 
|---|
|  |  |  | # @param itemDict: 物品信息字典 | 
|---|
|  |  |  | # @return curItemInfo:当前物品显示信息 | 
|---|
|  |  |  | def _GetItemInfo(itemDict): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | stoneList = [] | 
|---|
|  |  |  | hourCnt = itemDict['CanPlaceStoneCount'] | 
|---|
|  |  |  | for hourIndex in range(1, hourCnt + 1): | 
|---|
|  |  |  | stoneList.append(itemDict['Stone%d'%hourIndex]) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | itemData = eval(itemDict['UserData']) | 
|---|
|  |  |  | #itemData = eval(itemDict['UserData']) | 
|---|
|  |  |  | curItemInfo = { | 
|---|
|  |  |  | 'PackType':itemDict['ItemPlaceType'],  # 背包类型 | 
|---|
|  |  |  | 'ItemIndex':itemDict['ItemPlaceIndex'],   # 索引 | 
|---|
|  |  |  | 
|---|
|  |  |  | 'IsBand':itemDict['IsBind'],  # 是否绑定 | 
|---|
|  |  |  | 'ItemCnt':itemDict['Count'],   # 数量 | 
|---|
|  |  |  | 'ItemID':itemDict['ItemTypeID'], | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 'StarLV':itemDict['ItemStarLV'],  # 星级 | 
|---|
|  |  |  | 'Endure':itemDict['CurDurg'],   # 当前耐久 | 
|---|
|  |  |  | 'MaxEndure':itemDict['MaxDurg'],  # 最大耐久 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 'IsSuite':itemDict['IsSuite'],  # 是否套装 | 
|---|
|  |  |  | 'HoleCnt':hourCnt,  # 孔数 | 
|---|
|  |  |  | 'StoneList':stoneList,  # 宝石id列表 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 'SkillCnt':itemData.get(IudetEquipAddSkillCnt, 0),  #灵纹数 | 
|---|
|  |  |  | 'MaxSkillCnt':itemDict['MaxAddSkillCnt'],  # 最大灵纹数 | 
|---|
|  |  |  | 'SkillList':itemData.get(IudetEquipAddSkillList, []),  # 技能id列表 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 'FitLV':itemDict['FitLV'],  # 契合等级 | 
|---|
|  |  |  | 'Proficiency':itemDict['Proficiency'],  # 熟练度 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 'MinAtk':itemDict['EquipMinAtkValue'],  # 最小伤害值 | 
|---|
|  |  |  | 'MaxAtk':itemDict['EquipMaxAtkValue'],  # 最大伤害值 | 
|---|
|  |  |  | 'Defense':itemDict['BaseMagicDef'],  # 防御值 | 
|---|
|  |  |  | 'BaseHP':itemDict['BaseHP'],   # 气血值 | 
|---|
|  |  |  | 'MagicDef':itemDict['EquipMagicDefValue'],   # 内防值 | 
|---|
|  |  |  | 'isWakeUp':itemData.get(IudetWakeUpCnt, 0),  # 是否唤醒 | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return curItemInfo | 
|---|
|  |  |  |  | 
|---|