PlayerProfile beta
Interface of @v12-engine/client
ts
export interface PlayerProfileWhat a player has of a game, kept between games: the achievements earned (when, milliseconds since 1970) and what they played, games, wins and seconds of them
Members
earned
ts
earned: Record<string, {
at: number;
}>;The achievements earned, by id, each with the time earned in milliseconds since 1970
game
ts
game: string;The id of the game the profile is of
played
ts
played: number;How many games the player has played
seconds
ts
seconds: number;Seconds of game time played in all
won
ts
won: number;How many of those games they won