mc-lce/Minecraft.World/LevelSummary.h
2026-03-01 02:38:58 +02:00

29 lines
730 B
C++

#pragma once
using namespace std;
class GameType;
class LevelSummary
{
const wstring levelId;
const wstring levelName;
const __int64 lastPlayed;
const __int64 sizeOnDisk;
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);
wstring getLevelId();
wstring getLevelName();
__int64 getSizeOnDisk();
bool isRequiresConversion();
__int64 getLastPlayed();
int compareTo(LevelSummary *rhs);
GameType *getGameMode();
bool isHardcore();
bool hasCheats();
};