IMarketplaceService

Marketplace Service

Interface

Methods

PurchaseItem(string, ulong, bool)

Purchase an item from the shop for the current space. When the item is priced in Spatial Coins, the user will be prompted to confirm the purchase. If the item is priced in world currency, the purchase will be made immediately without confirmation.

Events

onItemPurchased

Triggered when an item is purchased by the local user.