Apprendre
Classe de moteur
CommerceService
Création impossible
Service

*Ce contenu est traduit en utilisant l'IA (Beta) et peut contenir des erreurs. Pour consulter cette page en anglais, clique ici.


Résumé
Membres hérités

Référence API
Méthodes
GetCommerceProductInfoAsync
Rendement
Capacités : Monetization
CommerceService:GetCommerceProductInfoAsync(commerceProductId:string):Dictionary
Paramètres
commerceProductId:string
Retours

PromptCommerceProductPurchase
Capacités : Monetization
CommerceService:PromptCommerceProductPurchase(
user:Player, commerceProductId:string
):()
Paramètres
user:Player
commerceProductId:string
Retours
()

PromptRealWorldCommerceBrowser
Capacités : Monetization
CommerceService:PromptRealWorldCommerceBrowser(
player:Player, url:string
):()
Paramètres
player:Player
url:string
Retours
()

UserEligibleForRealWorldCommerceAsync
Rendement
Capacités : Monetization
CommerceService:UserEligibleForRealWorldCommerceAsync():boolean
Retours

Événements
PromptCommerceProductPurchaseFinished
Capacités : Monetization
CommerceService.PromptCommerceProductPurchaseFinished(
user:Player, productId:string
Paramètres
user:Player
productId:string

©2026 Société Roblox. Roblox, le logo Roblox et Powering Imagination font partie de nos marques déposées aux États-Unis et dans d'autres pays.