| | |
| | |
|
| | | itemList.append(_GetItemInfo(itemDict))
|
| | |
|
| | | resultMsg = {"PackIndex":packIndex, "ItemList":itemList}
|
| | | totalItemCount = len(itemList)
|
| | | resultMsg = {"PackIndex":packIndex, "TotalItemCount":totalItemCount, "ItemList":itemList}
|
| | | # 不大与word
|
| | | if len(resultMsg) > pow(2, 14):
|
| | | if len(str(resultMsg)) > 65000:
|
| | | return GMCommon.Def_MaxLimit, ''
|
| | | |
| | | |
| | | # 回复查询信息
|
| | | return GMCommon.Def_Success, resultMsg
|
| | |
|
| | |
| | | for k, v in itemDict.items():
|
| | | if k in ["UserDataLen", "ItemPlaceType", "PlayerID", "IsLocked", "SID", "VerNO"]:
|
| | | continue
|
| | | if not v:
|
| | | if not v or v == "{}":
|
| | | continue
|
| | | curItemInfo[k] = v
|
| | |
|