Hierarchy
Instance → Service → MarketplaceService
| Tags | Memory category |
|---|---|
| NotCreatable, Service | Services |
Methods
| Returns | Method | Tags | Security |
|---|---|---|---|
Variant | GetProductInfo (productId: int) | ||
int | GetRobuxBalance () | ||
bool | PlayerOwnsAsset (player: Player, assetId: int) | ||
void | PromptGamePassPurchase (player: Player, gamePassId: int) | ||
void | PromptProductPurchase (player: Player, productId: int) | ||
void | PromptPurchase (player: Player, assetId: int) | ||
void | SignalClientPurchaseSuccess (receipt: string, userId: int, productId: int) | ||
| Unsupported * | |||
void | SignalPromptProductPurchaseFinished (userId: int, productId: int, isPurchased: bool) | ||
| RobloxScriptSecurity | |||
void | SignalPromptPurchaseFinished (player: Player, assetId: int, isPurchased: bool) | ||
void | SignalServerLuaDialogClosed (accepted: bool) | ||
| Unsupported * | |||
bool | UserOwnsGamePassAsync (userId: int, gamePassId: int) | ||
Properties
| Property | Type | Tags | Read | Write |
|---|---|---|---|---|
ProcessReceipt | function | NotReplicated |
Events
| Event | Arguments | Tags | Security |
|---|---|---|---|
ClientLuaDialogRequested | () | ||
PromptGamePassPurchaseFinished | (player: Player, gamePassId: int, wasPurchased: bool) | ||
PromptGamePassPurchaseRequested | (player: Instance, gamePassId: int) | ||
PromptProductPurchaseFinished | (userId: int, productId: int, isPurchased: bool) | ||
PromptProductPurchaseRequested | () | ||
PromptPurchaseFinished | (player: Instance, assetId: int, isPurchased: bool) | ||
PromptPurchaseRequested | (player: Instance, assetId: int) | ||
ServerPurchaseVerification | () |