PlatformPaymentRequest
此内容尚不支持你的语言。
Defined in: platform/types.ts:677
One in-game purchase, in the vocabulary every mini-game host shares.
Properties
Section titled “Properties”offerId
Section titled “offerId”offerId:
string
Defined in: platform/types.ts:679
The offer this game sells under, from the host’s developer console.
quantity
Section titled “quantity”quantity:
number
Defined in: platform/types.ts:681
How many units of the host’s in-game currency to buy.
sandbox?
Section titled “sandbox?”
optionalsandbox?:boolean
Defined in: platform/types.ts:686
Use the host’s sandbox rather than charging real money.
zoneId?
Section titled “zoneId?”
optionalzoneId?:string
Defined in: platform/types.ts:684
Which of the game’s zones/servers the currency lands in. Hosts default it to the first one; a single-zone game can leave it out.