Skip to main content

IShopApiClient

An interface in Alta.Api.Client, Alta.Api.Client.HighLevel.

Alta web API calls for the cosmetics shop. ApiAccess.ApiClient.ShopClient. The API is gone; mods stub the rotation and purchase checks.

Properties​

MemberWhat it is
IShopAccount Account { get; }Shop account calls (owned items, gifts).
IShopEditor Editor { get; }Calls for editing shop items and sets.
IOculusShop Oculus { get; }Oculus store purchase calls.
IShopPurchase Purchase { get; }Purchase calls.

Methods​

MemberWhat it is
Task<ShopPageConfiguration> GetCurrentShopConfiguration()Gets the current shop page layout.
Task<IEnumerable<ShopItemDetailedForUser>> GetCurrentShopConfigurationForUser()Gets the current shop items with the user's own details.
Task<ShopPageConfigurationWithBanner> GetCurrentShopConfigurationWithBanner()Gets the current shop page layout with its banner.
Task<IEnumerable<ShopItem>> GetFullItemDescriptions(IEnumerable<int> itemIdentifiers)Gets the full details of items by id.
Task<string> GetShopTokenAsync()Gets a shop token for the logged-in user.
Task<bool> ValidateUsersPurchasesAsync(int userIdentifier, IEnumerable<uint> itemIdentifiers)Obsolete: asks whether a user owns items by id.
Task<bool> ValidateUsersPurchasesViaSKUsAsync(int userIdentifier, IEnumerable<string> itemSKUs)Asks whether a user owns all the items with the given SKUs.

Used in​

Members of other types that take, return or hold a IShopApiClient: