跳转到内容

PlatformPaymentRequest

此内容尚不支持你的语言。

Defined in: platform/types.ts:677

One in-game purchase, in the vocabulary every mini-game host shares.

offerId: string

Defined in: platform/types.ts:679

The offer this game sells under, from the host’s developer console.


quantity: number

Defined in: platform/types.ts:681

How many units of the host’s in-game currency to buy.


optional sandbox?: boolean

Defined in: platform/types.ts:686

Use the host’s sandbox rather than charging real money.


optional zoneId?: 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.