Namespace STREAMSIX.Inventory
Classes
ClaimShareItemException
ClaimShareRecordDef
ConsumeItemException
ConsumeRecordDef
CostDef
CostDef defines cost of a single resource
GetInventoryException
GetItemException
GetProductException
GetRecordException
GetSessionItemsException
InventoryClient
Inventory Service is a cloud resource that integrate with 3rd party store and store user purchases. The service also can define virtual item/product to be purchase without going through a store. InventoryClient provides functions to access Inventory Service through Web API.
InventoryDef
InventoryDef defines an item in user inventory
Items that can aggregate are group into single inventory item, such as amount of gold. This is the most common usage.
Items that cannot be aggregated (due to varying properties) will be added as a separate inventory item, such as item that has ttl and will expire.
Non-aggregated items have TransacID
and ItemIndex
to uniquely identify them in the inventory.
Item flagged with IsShare
belong to user's shared inventory. User cannot consume these items.
It is meant for another user to claim the item with a share code. The other user then has the item in his regular inventory for use.
InventoryKey
InventorySubscription
InventoryUpdate
ItemDef
ItemDef defines an item that user can own
ModifiedDef
NotificationRecordDef
ProductDef
ProductDef defines a product that user can purchase
ProductItemDef
ProductItemDef defines items for sale in a product
PurchaseException
PurchaseRecordDef
Receipt
Receipt contains transaction record from partner store. This match the Unity IAP receipt at https://docs.unity3d.com/2022.1/Documentation/Manual/UnityIAPPurchaseReceipts.html
RefundException
RefundRecordDef
ReserveException
ReserveItemRequest
ReserveRecordDef
ReserveRefundException
ReserveRefundRecordDef
ReserveRemoveException
ReserveRemoveRecordDef
RevokeShareItemException
RevokeShareRecordDef
RewardException
RewardRecordDef
SessionItemDef
SessionItemDef defines an item that has been reserved for a given session