| | |
| | | import GMCommon
|
| | | import uuid
|
| | | import ChConfig
|
| | | import ShareDefine
|
| | | #---------------------------------------------------------------------
|
| | |
|
| | |
|
| | |
| | | if addItemDict['Count'] == 0:
|
| | | return {}
|
| | | addItemDict['IsAuctionItem'] = GameWorld.ToIntDef(gmCmdDict.get('IsBind%s'%itemIndexStr, '0'))
|
| | | appointID = GameWorld.ToIntDef(gmCmdDict.get('AppointID%s'%itemIndexStr, '0'))
|
| | | #添加UserData信息
|
| | | addItemDict['UserData'] = ''
|
| | | UserDataDict = {}
|
| | |
| | | continue
|
| | | itemUserData[key] = value
|
| | |
|
| | | if appointID:
|
| | | itemUserData[ShareDefine.Def_CItemKey_AppointID] = appointID
|
| | | |
| | | if itemUserData:
|
| | | addItemDict['UserData'] = '%s'%itemUserData
|
| | |
|