ProjectVShopView class
Everything the Shop screen draws: the confirmed offers, never an in-flight request.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Shop
public sealed class ProjectVShopView
Properties​
| Property | Type | Description |
|---|---|---|
IsLoading | bool | True only until the first catalog arrives. |
LoadError | string? | Why the first load failed, for a retry prompt; null otherwise. |
Offers | IReadOnlyList<ProjectVShopOfferView> | The offers with their prices, limits and purchase counts. |
Methods​
Find(string? offerId)​
Finds an offer by its ID.
public ProjectVShopOfferView? Find(string? offerId);
Parameters
| Name | Type | Description |
|---|---|---|
offerId | string? | The offer ID, as in OfferId.Value. |
Returns
ProjectVShopOfferView?: The offer, or null when the Shop does not sell it (or offerId is null).