FSAL_StoredStat (SteamStat)

Blueprint struct representing a single stat value read from the local Steam cache. Returned by batch reads like Get Local (Cached) Stats (Batch), and used for UI/display.
Fields
Field |
Type |
Description |
|---|---|---|
FriendlyStatName |
String |
Optional display label for UI. Falls back to APIStatName if empty. |
APIStatName |
String |
Stat API name exactly as defined in Steamworks (e.g., ST_KILLS). |
StatType |
Enum (Integer / Float) |
Read type used for this value. (Average stats are returned as Float.) |
IntegerValue |
int32 |
Populated when StatType = Integer. |
FloatValue |
float |
Populated when StatType = Float (also used for Average/rate stats). |
Notes
- Populate this via Get Local (Cached) Stats (Batch) after calling Request Current Stats And Achievements once per session.
- Average (rate) stats are represented in
FloatValue. - Use
FriendlyStatNamefor UI labels; if empty, displayAPIStatName.
Typical usage
- Build a list of FSAL_StatQuery → call Get Local (Cached) Stats (Batch) → iterate FSAL_StoredStat results to fill a stats screen.
- Show Integer stats directly; format Float/Average stats with units (e.g.,
MM:SS,per minute) as needed.