學習
引擎類別
CommerceService
無法建立
服務

*此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下這裡


概要
繼承成員

API 參考
方法
GetCommerceProductInfoAsync
暫停
功能: Monetization
CommerceService:GetCommerceProductInfoAsync(commerceProductId:string):Dictionary
參數
commerceProductId:string

PromptCommerceProductPurchase
功能: Monetization
CommerceService:PromptCommerceProductPurchase(
user:Player, commerceProductId:string
):()
參數
user:Player
commerceProductId:string
返回
()

PromptRealWorldCommerceBrowser
功能: Monetization
CommerceService:PromptRealWorldCommerceBrowser(
player:Player, url:string
):()
參數
player:Player
url:string
返回
()

UserEligibleForRealWorldCommerceAsync
暫停
功能: Monetization
CommerceService:UserEligibleForRealWorldCommerceAsync():boolean
返回

活動
PromptCommerceProductPurchaseFinished
功能: Monetization
CommerceService.PromptCommerceProductPurchaseFinished(
user:Player, productId:string
參數
user:Player
productId:string

©2026 Roblox Corporation、Roblox、Roblox 標誌及 Powering Imagination 是我們在美國及其他國家地區的部分註冊與未註冊商標。