Struct CharacterAttributeResourceState
Represents the current state of a character's resource attributes (health, mana, stamina) and regeneration timer. Used for synchronizing resource values and regeneration progress between client and server.
public struct CharacterAttributeResourceState
- Inherited Members
Fields
Health
The current health value of the character.
public float Health
Field Value
Mana
The current mana value of the character.
public float Mana
Field Value
MaxHealth
The current maximum health cap (final value) of the character.
public int MaxHealth
Field Value
MaxMana
The current maximum mana cap (final value) of the character.
public int MaxMana
Field Value
MaxStamina
The current maximum stamina cap (final value) of the character.
public int MaxStamina
Field Value
NextRegenTick
Absolute simulation tick at which the next resource-regeneration pulse should fire. Reconciled so both client and server advance regeneration from the same tick, eliminating the modulo-scheduling race that occurs when TickDelta changes at runtime (a new modulo interval can produce an immediate spurious pulse or a long gap). Zero means regeneration has not been scheduled yet (controller not yet started).
public uint NextRegenTick
Field Value
Stamina
The current stamina value of the character.
public float Stamina