mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-19 15:21:59 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
// 4J Stu - Implements the Java InputStream but rather than writing directly to disc it writes through the save file
|
||||
// 4J Stu - Implements the Java InputStream but rather than writing directly to
|
||||
// disc it writes through the save file
|
||||
|
||||
#include "../Streams/OutputStream.h"
|
||||
|
||||
@@ -8,18 +9,18 @@
|
||||
class ConsoleSaveFile;
|
||||
class FileEntry;
|
||||
|
||||
class ConsoleSaveFileOutputStream : public OutputStream
|
||||
{
|
||||
class ConsoleSaveFileOutputStream : public OutputStream {
|
||||
public:
|
||||
ConsoleSaveFileOutputStream(ConsoleSaveFile *saveFile, const ConsoleSavePath &file);
|
||||
ConsoleSaveFileOutputStream(ConsoleSaveFile *saveFile, FileEntry *file);
|
||||
virtual void write(unsigned int b);
|
||||
virtual void write(byteArray b);
|
||||
virtual void write(byteArray b, unsigned int offset, unsigned int length);
|
||||
virtual void close();
|
||||
virtual void flush() {}
|
||||
ConsoleSaveFileOutputStream(ConsoleSaveFile* saveFile,
|
||||
const ConsoleSavePath& file);
|
||||
ConsoleSaveFileOutputStream(ConsoleSaveFile* saveFile, FileEntry* file);
|
||||
virtual void write(unsigned int b);
|
||||
virtual void write(byteArray b);
|
||||
virtual void write(byteArray b, unsigned int offset, unsigned int length);
|
||||
virtual void close();
|
||||
virtual void flush() {}
|
||||
|
||||
private:
|
||||
ConsoleSaveFile *m_saveFile;
|
||||
FileEntry *m_file;
|
||||
ConsoleSaveFile* m_saveFile;
|
||||
FileEntry* m_file;
|
||||
};
|
||||
Reference in New Issue
Block a user