diff options
Diffstat (limited to 'src/WorldStorage')
-rw-r--r-- | src/WorldStorage/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/WorldStorage/NamespaceSerializer.h | 2 | ||||
-rw-r--r-- | src/WorldStorage/StatisticsSerializer.cpp (renamed from src/WorldStorage/StatSerializer.cpp) | 8 | ||||
-rw-r--r-- | src/WorldStorage/StatisticsSerializer.h (renamed from src/WorldStorage/StatSerializer.h) | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/WorldStorage/CMakeLists.txt b/src/WorldStorage/CMakeLists.txt index af363c97f..13675c5e1 100644 --- a/src/WorldStorage/CMakeLists.txt +++ b/src/WorldStorage/CMakeLists.txt @@ -9,7 +9,7 @@ target_sources( NBTChunkSerializer.cpp SchematicFileSerializer.cpp ScoreboardSerializer.cpp - StatSerializer.cpp + StatisticsSerializer.cpp WSSAnvil.cpp WorldStorage.cpp @@ -21,7 +21,7 @@ target_sources( NBTChunkSerializer.h SchematicFileSerializer.h ScoreboardSerializer.h - StatSerializer.h + StatisticsSerializer.h WSSAnvil.h WorldStorage.h ) diff --git a/src/WorldStorage/NamespaceSerializer.h b/src/WorldStorage/NamespaceSerializer.h index c521db201..6ec6bc6f7 100644 --- a/src/WorldStorage/NamespaceSerializer.h +++ b/src/WorldStorage/NamespaceSerializer.h @@ -2,7 +2,7 @@ #include "Defines.h" #include "Mobs/MonsterTypes.h" -#include "Registries/Statistics.h" +#include "Registries/CustomStatistics.h" namespace NamespaceSerializer { diff --git a/src/WorldStorage/StatSerializer.cpp b/src/WorldStorage/StatisticsSerializer.cpp index 5432f6ab9..34621d81c 100644 --- a/src/WorldStorage/StatSerializer.cpp +++ b/src/WorldStorage/StatisticsSerializer.cpp @@ -1,10 +1,10 @@ -// StatSerializer.cpp +// StatisticsSerializer.cpp #include "Globals.h" -#include "../Statistics.h" -#include "StatSerializer.h" +#include "StatisticsManager.h" +#include "StatisticsSerializer.h" #include "NamespaceSerializer.h" #include <json/json.h> @@ -13,7 +13,7 @@ -namespace StatSerializer +namespace StatisticsSerializer { static auto MakeStatisticsDirectory(const std::string & WorldPath, std::string && FileName) { diff --git a/src/WorldStorage/StatSerializer.h b/src/WorldStorage/StatisticsSerializer.h index a178db79c..1ccc55dbd 100644 --- a/src/WorldStorage/StatSerializer.h +++ b/src/WorldStorage/StatisticsSerializer.h @@ -1,5 +1,5 @@ -// StatSerializer.h +// StatisticsSerializer.h // Declares the cStatSerializer class that is used for saving stats into JSON @@ -20,7 +20,7 @@ namespace Json { class Value; } -namespace StatSerializer +namespace StatisticsSerializer { /* Try to load the player statistics. */ void Load(StatisticsManager & Manager, const std::string & WorldPath, std::string && FileName); |