1
0

Switched player statistic store to save with UUID filenames. (#4002)

This commit is contained in:
Lane Kolbly
2017-09-07 04:57:12 -05:00
committed by Mattes D
parent e33eb529ad
commit dc294cdc51
3 changed files with 12 additions and 6 deletions

View File

@@ -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 <username>.json path to try to read from if the uuid path doesn't exist on load
AString m_Path;