ProjectVAccountSnapshot class
The Account state the UI draws: status, the pending deletion and the last error. Read-only; every change arrives as a new instance.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Account
public sealed class ProjectVAccountSnapshot
Properties
| Property | Type | Description |
|---|---|---|
Status | ProjectVAccountStatus | What the presenter is doing right now. |
PendingDeletion | ProjectVAccountDeletionChallenge? | The deletion waiting for confirmation, or null when none is pending. A failed command clears it, so the player must request deletion again. |
Error | ProjectVAccountError? | Why the last command failed, or null. Can be set together with RemoteDeletionSucceeded when the account was deleted but signing out on this device then failed. |
RemoteDeletionSucceeded | bool | True when the server deleted the account. Tell the player the account is gone. |
RequiresLoginNavigation | bool | True when the player is signed out and the game must open the Login scene. You get this once, in the change after logout or deletion; IProjectVAccountPresenter.Current is back to Ready afterwards. |
CanConfirmDeletion | bool | True when the final confirm button can be enabled. |