8352 【后端】GM工具后台增加可补偿上架拍品(没有指定收益成员时,所有成员都收益)
| | |
| | | GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_ParamErr, "以下玩家ID不是该仙盟成员%s" % notFamilyMemberIDList)
|
| | | return
|
| | |
|
| | | if not familyPlayerIDList:
|
| | | for i in xrange(curFamily.GetCount()):
|
| | | member = curFamily.GetAt(i)
|
| | | memPlayerID = member.GetPlayerID()
|
| | | if memPlayerID not in familyPlayerIDList:
|
| | | familyPlayerIDList.append(memPlayerID)
|
| | | GameWorld.Log("没有指定收益成员,默认所有成员都收益! %s" % familyPlayerIDList)
|
| | | |
| | | familyAuctionItemDict = {} # {仙盟ID:[[享受收益的成员ID, ...], [[拍品ID,个数], [拍品ID,个数,是否拍品], ...]], ...}
|
| | | familyAuctionItemDict[familyID] = [familyPlayerIDList, auctionItemList]
|
| | | AuctionHouse.DoAddFamilyAuctionItem(ChConfig.Def_FBMapID_MainCity, familyAuctionItemDict)
|