ProjectVStaminaReading struct
Stamina at one moment, with the wait until the next point and until it is full. Get one from ProjectVStaminaRecovery.Read.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Header
public readonly struct ProjectVStaminaReading
Properties
| Property | Type | Description |
|---|---|---|
Stamina | long | The stamina to show at that moment, including points recovered since the last server update. |
Maximum | long | The stamina maximum. |
UntilNextPoint | TimeSpan? | The wait until the next point is recovered, for the countdown. Null when stamina is full or does not recover. |
UntilFull | TimeSpan? | The wait until stamina reaches its maximum, so a player can choose when to return without wasting recovery. Null when it is already full or does not recover. |
FullAtUtc | DateTimeOffset? | When stamina reaches its maximum, in UTC; convert to local time for display. |
IsFull | bool | True when no point is recovering, normally because stamina is at or above its maximum; hide the countdown. |