学ぶ
エンジンクラス
CommerceService
作成できません
サービス

*このコンテンツは、ベータ版のAI(人工知能)を使用して翻訳されており、エラーが含まれている可能性があります。このページを英語で表示するには、 こちら をクリックしてください。


概要
継承されたメンバー

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は、米国並びにその他の国における登録商標および非登録商標です。