aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/LevelSummary.h
blob: ce5699a2599d2368c8e8b63be7ce063f38a8993c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
using namespace std;

class GameType;

class LevelSummary
{
	const wstring levelId;
    const wstring levelName;
    const int64_t lastPlayed;
    const int64_t sizeOnDisk;
    const bool requiresConversion;
	GameType *gameMode;
	const bool hardcore;
	const bool _hasCheats;

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