Files
MinecraftConsoles/Minecraft.World/LevelSummary.h

29 lines
730 B
C
Raw Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
using namespace std;
class GameType;
class LevelSummary
{
const wstring levelId;
const wstring levelName;
const __int64 lastPlayed;
const __int64 sizeOnDisk;
2026-03-01 12:16:08 +08:00
const bool requiresConversion;
GameType *gameMode;
const bool hardcore;
const bool _hasCheats;
public:
LevelSummary(const wstring& levelId, const wstring& levelName, __int64 lastPlayed, __int64 sizeOnDisk, GameType *gameMode, bool requiresConversion, bool hardcore, bool hasCheats);
2026-03-01 12:16:08 +08:00
wstring getLevelId();
wstring getLevelName();
__int64 getSizeOnDisk();
2026-03-01 12:16:08 +08:00
bool isRequiresConversion();
__int64 getLastPlayed();
2026-03-01 12:16:08 +08:00
int compareTo(LevelSummary *rhs);
GameType *getGameMode();
bool isHardcore();
bool hasCheats();
};