From dc294cdc51135f38bc4417834e473c8fc4d92b1a Mon Sep 17 00:00:00 2001 From: Lane Kolbly Date: Thu, 7 Sep 2017 04:57:12 -0500 Subject: Switched player statistic store to save with UUID filenames. (#4002) --- src/WorldStorage/StatSerializer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/WorldStorage/StatSerializer.h') diff --git a/src/WorldStorage/StatSerializer.h b/src/WorldStorage/StatSerializer.h index 6b7efddbb..8e8e4ffdb 100644 --- a/src/WorldStorage/StatSerializer.h +++ b/src/WorldStorage/StatSerializer.h @@ -25,7 +25,7 @@ class cStatSerializer { public: - cStatSerializer(const AString & a_WorldName, const AString & a_PlayerName, cStatManager * a_Manager); + cStatSerializer(const AString & a_WorldName, const AString & a_PlayerName, const AString & a_FileName, cStatManager * a_Manager); /* Try to load the player statistics. Returns whether the operation was successful or not. */ bool Load(void); @@ -45,6 +45,7 @@ private: cStatManager * m_Manager; + AString m_LegacyPath; // The old .json path to try to read from if the uuid path doesn't exist on load AString m_Path; -- cgit v1.2.3