เรียนรู้
Engine Class
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 เป็นส่วนหนึ่งของเครื่องหมายการค้าที่จดทะเบียน และไม่ได้จดทะเบียนของเราในสหรัฐฯ และประเทศอื่นๆ