From 74f5255eef8b14455ca741c5004a97cd00fed667 Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Tue, 13 Jul 2021 16:59:33 +0100 Subject: GH-3930 Track duration of previous game sessions --- api/logic/BaseInstance.h | 1 + 1 file changed, 1 insertion(+) (limited to 'api/logic/BaseInstance.h') 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 -- cgit