Struct PetPersistedAttribute
One attribute value restored from the database and staged onto a Pet for application at spawn.
public struct PetPersistedAttribute
- Inherited Members
Remarks
A plain shared-layer struct rather than the database DTO. The pet system translates the
row into this before handing it over, which keeps FishMMO.Database out of the
gameplay assembly that also ships to clients.
Fields
CurrentValue
The current value, for resource attributes. Meaningless for a plain attribute, which is why the template — not this field — decides which kind is being restored.
public float CurrentValue
Field Value
TemplateID
The attribute template this value belongs to.
public int TemplateID
Field Value
Value
The attribute's base value.
public int Value