mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-19 01:18:11 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -5,15 +5,14 @@
|
||||
#include "../../IO/NBT/NbtSlotFile.h"
|
||||
#include "ZoneIO.h"
|
||||
|
||||
class ZoneFile
|
||||
{
|
||||
class ZoneFile {
|
||||
public:
|
||||
static const int FILE_HEADER_SIZE = 1024 * 4;
|
||||
|
||||
private:
|
||||
static const int MAGIC_NUMBER = 0x13737000;
|
||||
|
||||
static const int slotsLength;
|
||||
static const int slotsLength;
|
||||
|
||||
shortArray slots;
|
||||
short slotCount;
|
||||
@@ -22,16 +21,16 @@ public:
|
||||
__int64 lastUse;
|
||||
|
||||
private:
|
||||
std::FILE *channel;
|
||||
std::FILE* channel;
|
||||
|
||||
public:
|
||||
__int64 key;
|
||||
File file;
|
||||
|
||||
NbtSlotFile *entityFile;
|
||||
NbtSlotFile* entityFile;
|
||||
|
||||
ZoneFile(__int64 key, File file, File entityFile);
|
||||
~ZoneFile();
|
||||
~ZoneFile();
|
||||
|
||||
void readHeader();
|
||||
|
||||
@@ -39,6 +38,6 @@ public:
|
||||
|
||||
public:
|
||||
void close();
|
||||
ZoneIo *getZoneIo(int slot);
|
||||
ZoneIo* getZoneIo(int slot);
|
||||
bool containsSlot(int slot);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user