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

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​

PropertyTypeDescription
StaminalongThe stamina to show at that moment, including points recovered since the last server update.
MaximumlongThe stamina maximum.
UntilNextPointTimeSpan?The wait until the next point is recovered, for the countdown. Null when stamina is full or does not recover.
UntilFullTimeSpan?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.
FullAtUtcDateTimeOffset?When stamina reaches its maximum, in UTC; convert to local time for display.
IsFullboolTrue when no point is recovering, normally because stamina is at or above its maximum; hide the countdown.