summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/StatSerializer.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-05-04 17:11:56 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-05-04 17:11:56 +0200
commit34bf5c0d9db195edf8b576d1273876966cf650b2 (patch)
treeb9682f8226fef09d3625089ba06235f93ce5c976 /src/WorldStorage/StatSerializer.h
parentAdd player statistics to API (#5193) (diff)
downloadcuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar.gz
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar.bz2
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar.lz
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar.xz
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar.zst
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.zip
Diffstat (limited to 'src/WorldStorage/StatSerializer.h')
-rw-r--r--src/WorldStorage/StatSerializer.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/WorldStorage/StatSerializer.h b/src/WorldStorage/StatSerializer.h
deleted file mode 100644
index a178db79c..000000000
--- a/src/WorldStorage/StatSerializer.h
+++ /dev/null
@@ -1,30 +0,0 @@
-
-// StatSerializer.h
-
-// Declares the cStatSerializer class that is used for saving stats into JSON
-
-
-
-
-
-#pragma once
-
-
-
-
-
-struct StatisticsManager;
-namespace Json { class Value; }
-
-
-
-
-
-namespace StatSerializer
-{
- /* Try to load the player statistics. */
- void Load(StatisticsManager & Manager, const std::string & WorldPath, std::string && FileName);
-
- /* Try to save the player statistics. */
- void Save(const StatisticsManager & Manager, const std::string & WorldPath, std::string && FileName);
-}