aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/LevelSummary.cpp
diff options
context:
space:
mode:
authorqwasdrizzel <145519042+qwasdrizzel@users.noreply.github.com>2026-03-16 21:44:26 -0500
committerGitHub <noreply@github.com>2026-03-16 21:44:26 -0500
commitce739f6045ec72127491286ea3f3f21e537c1b55 (patch)
treef33bd42a47c1b4a7b2153a7fb77127ee3b407db9 /Minecraft.World/LevelSummary.cpp
parent255a18fe8e9b57377975f82e2b227afe2a12eda0 (diff)
parent5a59f5d146b43811dde6a5a0245ee9875d7b5cd1 (diff)
Merge branch 'smartcmd:main' into main
Diffstat (limited to 'Minecraft.World/LevelSummary.cpp')
-rw-r--r--Minecraft.World/LevelSummary.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Minecraft.World/LevelSummary.cpp b/Minecraft.World/LevelSummary.cpp
index d8e7ddee..915abaf6 100644
--- a/Minecraft.World/LevelSummary.cpp
+++ b/Minecraft.World/LevelSummary.cpp
@@ -1,7 +1,7 @@
#include "stdafx.h"
#include "LevelSummary.h"
-LevelSummary::LevelSummary(const wstring& levelId, const wstring& levelName, __int64 lastPlayed, __int64 sizeOnDisk, GameType *gameMode, bool requiresConversion, bool hardcore, bool hasCheats) :
+LevelSummary::LevelSummary(const wstring& levelId, const wstring& levelName, int64_t lastPlayed, int64_t sizeOnDisk, GameType *gameMode, bool requiresConversion, bool hardcore, bool hasCheats) :
levelId( levelId ),
levelName( levelName ),
lastPlayed( lastPlayed ),
@@ -13,7 +13,7 @@ LevelSummary::LevelSummary(const wstring& levelId, const wstring& levelName, __i
{
}
-wstring LevelSummary::getLevelId()
+wstring LevelSummary::getLevelId()
{
return levelId;
}
@@ -23,28 +23,28 @@ wstring LevelSummary::getLevelName()
return levelName;
}
-__int64 LevelSummary::getSizeOnDisk()
+int64_t LevelSummary::getSizeOnDisk()
{
return sizeOnDisk;
}
-bool LevelSummary::isRequiresConversion()
+bool LevelSummary::isRequiresConversion()
{
return requiresConversion;
}
-__int64 LevelSummary::getLastPlayed()
+int64_t LevelSummary::getLastPlayed()
{
return lastPlayed;
}
-int LevelSummary::compareTo(LevelSummary *rhs)
+int LevelSummary::compareTo(LevelSummary *rhs)
{
if (lastPlayed < rhs->lastPlayed)
{
return 1;
}
- if (lastPlayed > rhs->lastPlayed)
+ if (lastPlayed > rhs->lastPlayed)
{
return -1;
}