diff options
author | Jamie Mansfield <jmansfield@cadixdev.org> | 2021-07-13 16:59:33 +0100 |
---|---|---|
committer | Jamie Mansfield <jmansfield@cadixdev.org> | 2021-07-13 17:01:53 +0100 |
commit | 74f5255eef8b14455ca741c5004a97cd00fed667 (patch) | |
tree | 5b319e37df6501ce607c9435aedae8243734da77 /api/logic/BaseInstance.h | |
parent | d63ef939bec200f9c510cbc2ae50531802ff7bfc (diff) | |
download | PrismLauncher-74f5255eef8b14455ca741c5004a97cd00fed667.tar.gz PrismLauncher-74f5255eef8b14455ca741c5004a97cd00fed667.tar.bz2 PrismLauncher-74f5255eef8b14455ca741c5004a97cd00fed667.zip |
GH-3930 Track duration of previous game sessions
Diffstat (limited to 'api/logic/BaseInstance.h')
-rw-r--r-- | api/logic/BaseInstance.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/logic/BaseInstance.h b/api/logic/BaseInstance.h index 64de4bb3..d250e03e 100644 --- a/api/logic/BaseInstance.h +++ b/api/logic/BaseInstance.h @@ -87,6 +87,7 @@ public: void setRunning(bool running); bool isRunning() const; int64_t totalTimePlayed() const; + int64_t lastTimePlayed() const; void resetTimePlayed(); /// get the type of this instance |