1
This commit is contained in:
parent
145d173f5c
commit
073fdb018d
@ -16,15 +16,19 @@ class ItemSoldOut extends BaseEventProcess {
|
||||
|
||||
async start() {
|
||||
const returnValues = this.getReturnValues();
|
||||
const transId = returnValues['orderId'];
|
||||
const buyer = returnValues['buyer'];
|
||||
const orderId = returnValues['orderId'];
|
||||
const currency = returnValues['currency'];
|
||||
const price = returnValues['price'];
|
||||
|
||||
const params = {
|
||||
'c': 'Callback',
|
||||
'a': 'dispatch',
|
||||
'action': 'gameItemMarketBuyOk',
|
||||
'trans_id': transId,
|
||||
'buyer': buyer,
|
||||
'order_id': orderId,
|
||||
'currency': currency,
|
||||
'price': price
|
||||
};
|
||||
await this.callGameApi
|
||||
(params,
|
||||
|
Loading…
x
Reference in New Issue
Block a user