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

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​

PropertyTypeDescription
StatusProjectVAccountStatusWhat the presenter is doing right now.
PendingDeletionProjectVAccountDeletionChallenge?The deletion waiting for confirmation, or null when none is pending. A failed command clears it, so the player must request deletion again.
ErrorProjectVAccountError?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.
RemoteDeletionSucceededboolTrue when the server deleted the account. Tell the player the account is gone.
RequiresLoginNavigationboolTrue 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.
CanConfirmDeletionboolTrue when the final confirm button can be enabled.