| | |
| | | import GameWorld
|
| | | import PlayerCoin
|
| | | import PlayerControl
|
| | | import IpyGameDataPY
|
| | | import ShareDefine
|
| | | import ChConfig
|
| | |
|
| | |
| | | GameWorld.DebugAnswer(curPlayer, "CTG 商品编号 appID 是否增加集市购买额度")
|
| | | return
|
| | |
|
| | | ctgValue = msgList[0]
|
| | | if ctgValue.isdigit():
|
| | | ctgValue = str(msgList[0])
|
| | | orderInfoIpyData = None
|
| | | if len(msgList) > 1:
|
| | | value2 = str(msgList[1])
|
| | | orderInfoIpyData = IpyGameDataPY.GetIpyGameDataNotLog("OrderInfo", ctgValue, value2)
|
| | | |
| | | if not orderInfoIpyData and ctgValue.isdigit():
|
| | | orderRMB = int(ctgValue)
|
| | | isAddBourseMoney = msgList[1] if len(msgList) > 1 else 1
|
| | | PlayerCoin.PlayerCoinToGoldEx(curPlayer, orderRMB, ChConfig.Def_GiveMoney_CTG, isAddBourseMoney)
|