blob: 5d6c50b8308873a90266648826ebf6d6f3621048 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// StatisticsSerializer.h
// Declares the cStatSerializer class that is used for saving stats into JSON
#pragma once
struct StatisticsManager;
namespace Json
{
class Value;
}
namespace StatisticsSerializer
{
/* 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);
} // namespace StatisticsSerializer
|