Verse Library verse

02 Tracking Persistable Player Stats

Defines a persistable data structure storing player version, score, wins, and losses.

extracted-snippets/documentation/en-us/uefn/persistent-player-statistics-in-unreal-editor-for-fortnite/02-tracking-persistable-player-stats.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/persistent-player-statistics-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/uefn/persistent-player-statistics-in-unreal-editor-for-fortnite.md
# Section:    Tracking Persistable Player Stats
# Tracks different persistable stats for each player.
player_stats_table := class<final><persistable>:
# The version of the current stats table.
Version<public>:int = 0
# The score of a player.
Score<public>:int = 0
# The number of wins for a player.
Wins<public>:int = 0
# The number of losses for a player.
Losses<public>:int = 0

Comments

    Sign in to vote, comment, or suggest an edit. Sign in