OfflineShopAccount
A class in Alta.Api.Client, Alta.Api.Client.HighLevel.
Offline stand-in for the shop account: a fixed supporter account with 100000 shards and no owned items.
- Listed in Alta.Api.Client
- Inherits or implements
IShopAccount
Constructors
| Member | What it is |
|---|---|
OfflineShopAccount() | Creates an OfflineShopAccount with default values. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private GiftResult giftResult | The last result built by GiftItem. |
private readonly ShopAccountInfo shopAccountInfo | The fixed account: supporter, not renewing, 100000 shards, USD. |
Methods
| Member | What it is |
|---|---|
Task<SubscriptionRefreshResult> CheckForSubscriptionRewardsAsync() | Returns an empty result. |
Task<IEnumerable<OwnedShopItem>> GetOwnedItems() | Returns an empty list. |
Task<ShopAccountInfo> GetShopAccountInfo() | Returns the fixed offline account info for any user. |
Task<ShopAccountInfo> GetShopAccountInfo(int userIdentifier) | Returns the fixed offline account info for any user. |
Task<GiftResult> GiftItem(int userIdentifier, string itemSku) | Reports success without doing anything. |
Task RemoveItem(int userIdentifier, int itemIdentifier) | Does nothing. |