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

ProjectVShopSnapshot class

The Shop presenter's state at one moment. Read-only; every change is a new snapshot.

Namespace: SilverTiger.ProjectV.Unity.Presentation.Shop

public sealed class ProjectVShopSnapshot

Properties​

PropertyTypeDescription
StatusProjectVShopStatusWhat the presenter is doing.
OffersIReadOnlyList<ProjectVShopOfferView>The offers to list; empty before the first load. Kept when a later load fails.
ReceiptProjectVShopReceiptView?The receipt of the last confirmed purchase, or null.
RecoveryProjectVScreenRecoveryStateOffline, cached and retry hints for the screen.
ErrorProjectVShopError?Why the last command failed, or null.
IsReadyboolTrue when the offers are loaded and nothing failed.