1
0
cuberite-2a/source/cFileFormatUpdater.h
faketruth c2b43f33da Player data is saved and loaded as human readable JSON now.
cFileFormatUpdate will loop through old files and convert them to new files (should replace legacy old format loading code)
cItem has two new functions to load from Json and output Json, this will keep the items in Json standard
ChestEntity and FurnaceEntity use the new functions in cItem

git-svn-id: http://mc-server.googlecode.com/svn/trunk@35 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-31 21:30:14 +00:00

11 lines
223 B
C++

#pragma once
class cFileFormatUpdater
{
public:
static void UpdateFileFormat();
private:
static void UpdatePlayersOfWorld( const char* a_WorldName );
static void PlayerBINtoJSON( const char* a_FileName );
};