ProjectVHeaderSnapshot class
Everything the top-bar header shows: currency balances and stamina. Read-only; every change arrives as a new snapshot.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Header
public sealed class ProjectVHeaderSnapshot
Properties
| Property | Type | Description |
|---|---|---|
Revision | long | Grows with every update. A snapshot with a lower revision is older. Not needed in UI. |
Currencies | IReadOnlyList<ProjectVHeaderCurrencyValue> | One balance per catalog binding, in catalog order. Empty until HasEconomy is true. |
Stamina | long? | The stamina the server last reported; null until HasStamina is true. For a live value with a countdown, use StaminaRecovery. |
HasEconomy | bool | True once the wallet balances are loaded and Currencies can be shown. |
HasStamina | bool | True once the stamina state is loaded. |
StaminaRecovery | ProjectVStaminaRecovery? | Live stamina with its recovery countdown; call ProjectVStaminaRecovery.Read each frame or second. Null until the stamina state is known. |
IsReady | bool | True when both currencies and stamina are loaded, so the whole header can be shown. |