Chuyển tới nội dung chính

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​

PropertyTypeDescription
IsLoadingboolTrue only until the first catalog arrives.
LoadErrorstring?Why the first load failed, for a retry prompt; null otherwise.
OffersIReadOnlyList<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

NameTypeDescription
offerIdstring?The offer ID, as in OfferId.Value.

Returns

ProjectVShopOfferView?: The offer, or null when the Shop does not sell it (or offerId is null).