diff options
Diffstat (limited to 'logic/minecraft/World.h')
-rw-r--r-- | logic/minecraft/World.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/logic/minecraft/World.h b/logic/minecraft/World.h index 27184e05..bed8f967 100644 --- a/logic/minecraft/World.h +++ b/logic/minecraft/World.h @@ -41,6 +41,14 @@ public: { return is_valid; } + bool isOnFS() const + { + return m_containerFile.isDir(); + } + QFileInfo container() const + { + return m_containerFile; + } // delete all the files of this world bool destroy(); // replace this world with a copy of the other @@ -62,6 +70,7 @@ private: protected: QFileInfo m_containerFile; + QString m_containerOffsetPath; QString m_folderName; QString m_actualName; QDateTime levelDatTime; |