Cuberite
A lightweight, fast and extensible game server for Minecraft
Functions
StatisticsSerializer.cpp File Reference
#include "Globals.h"
#include "StatisticsManager.h"
#include "StatisticsSerializer.h"
#include "NamespaceSerializer.h"
#include <json/json.h>
Include dependency graph for StatisticsSerializer.cpp:

Go to the source code of this file.

Functions

static void LoadCustomStatFromJSON (StatisticsManager &Manager, const Json::Value &a_In)
 
static auto MakeStatisticsDirectory (const std::string &WorldPath, std::string &&FileName)
 
static void SaveStatToJSON (const StatisticsManager &Manager, Json::Value &a_Out)
 

Function Documentation

◆ LoadCustomStatFromJSON()

static void LoadCustomStatFromJSON ( StatisticsManager Manager,
const Json::Value &  a_In 
)
static

Definition at line 53 of file StatisticsSerializer.cpp.

◆ MakeStatisticsDirectory()

static auto MakeStatisticsDirectory ( const std::string &  WorldPath,
std::string &&  FileName 
)
static

Definition at line 16 of file StatisticsSerializer.cpp.

◆ SaveStatToJSON()

static void SaveStatToJSON ( const StatisticsManager Manager,
Json::Value &  a_Out 
)
static

Definition at line 34 of file StatisticsSerializer.cpp.