aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/LevelSummary.h
blob: bbf391ff61ea562a1c4691260e083061622a5318 (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 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();
};