aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/World.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/minecraft/World.h')
-rw-r--r--launcher/minecraft/World.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/launcher/minecraft/World.h b/launcher/minecraft/World.h
index 35e32788..0f587620 100644
--- a/launcher/minecraft/World.h
+++ b/launcher/minecraft/World.h
@@ -52,6 +52,10 @@ public:
{
return m_iconFile;
}
+ int64_t bytes() const
+ {
+ return m_size;
+ }
QDateTime lastPlayed() const
{
return m_lastPlayed;
@@ -105,6 +109,7 @@ protected:
QString m_iconFile;
QDateTime levelDatTime;
QDateTime m_lastPlayed;
+ int64_t m_size;
int64_t m_randomSeed = 0;
GameType m_gameType;
bool is_valid = false;