4jcraft/Minecraft.World/Level/Storage/LevelSummary.h
2026-03-21 17:07:51 -05:00

29 lines
796 B
C++

#pragma once
class GameType;
class LevelSummary {
const std::wstring levelId;
const std::wstring levelName;
const int64_t lastPlayed;
const int64_t sizeOnDisk;
const bool requiresConversion;
GameType* gameMode;
const bool hardcore;
const bool _hasCheats;
public:
LevelSummary(const std::wstring& levelId, const std::wstring& levelName,
int64_t lastPlayed, int64_t sizeOnDisk, GameType* gameMode,
bool requiresConversion, bool hardcore, bool hasCheats);
std::wstring getLevelId();
std::wstring getLevelName();
int64_t getSizeOnDisk();
bool isRequiresConversion();
int64_t getLastPlayed();
int compareTo(LevelSummary* rhs);
GameType* getGameMode();
bool isHardcore();
bool hasCheats();
};