Class: UserPlaytime\
January 23, 2026 ยท View on GitHub
steamapi / UserPlaytime
Class: UserPlaytime<G>
Defined in: structures/UserPlaytime.ts:5
Type Parameters
G
G
Constructors
Constructor
new UserPlaytime<
G>(data,game):UserPlaytime<G>
Defined in: structures/UserPlaytime.ts:30
Parameters
data
any
game
G
Returns
UserPlaytime<G>
Properties
disconnectedMinutes
disconnectedMinutes:
number
Defined in: structures/UserPlaytime.ts:25
The number of minutes played while offline
game
game:
G
Defined in: structures/UserPlaytime.ts:7
The game with various levels of information based on parameters passed to getUserOwnedGames()
lastPlayedTimestamp?
optionallastPlayedTimestamp:number
Defined in: structures/UserPlaytime.ts:28
UNIX Timestamp for when the user last played this game if the user has ever launched the game
linuxMinutes
linuxMinutes:
number
Defined in: structures/UserPlaytime.ts:22
The number of minutes played on Linux (not accurate)
macMinutes
macMinutes:
number
Defined in: structures/UserPlaytime.ts:19
The number of minutes played on Mac (not accurate)
minutes
minutes:
number
Defined in: structures/UserPlaytime.ts:10
The total number of minutes the user has played this game
recentMinutes
recentMinutes:
number
Defined in: structures/UserPlaytime.ts:13
The number of minutes played in the last 2 weeks
windowsMinutes
windowsMinutes:
number
Defined in: structures/UserPlaytime.ts:16
The number of minutes played on Windows (not accurate)
Accessors
lastPlayedAt
Get Signature
get lastPlayedAt():
undefined|Date
Defined in: structures/UserPlaytime.ts:42
Date when user last played this game
Returns
undefined | Date