mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-12 09:41: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/InputStream.h"
|
||||
|
||||
@@ -8,19 +9,18 @@
|
||||
class ConsoleSaveFile;
|
||||
class FileEntry;
|
||||
|
||||
class ConsoleSaveFileInputStream : public InputStream
|
||||
{
|
||||
class ConsoleSaveFileInputStream : public InputStream {
|
||||
public:
|
||||
ConsoleSaveFileInputStream(ConsoleSaveFile *saveFile, const ConsoleSavePath &file);
|
||||
ConsoleSaveFileInputStream(ConsoleSaveFile *saveFile, FileEntry *file);
|
||||
virtual int read();
|
||||
virtual int read(byteArray b);
|
||||
virtual int read(byteArray b, unsigned int offset, unsigned int length);
|
||||
virtual void close();
|
||||
virtual __int64 skip(__int64 n) { return n; }
|
||||
ConsoleSaveFileInputStream(ConsoleSaveFile* saveFile,
|
||||
const ConsoleSavePath& file);
|
||||
ConsoleSaveFileInputStream(ConsoleSaveFile* saveFile, FileEntry* file);
|
||||
virtual int read();
|
||||
virtual int read(byteArray b);
|
||||
virtual int read(byteArray b, unsigned int offset, unsigned int length);
|
||||
virtual void close();
|
||||
virtual __int64 skip(__int64 n) { return n; }
|
||||
|
||||
private:
|
||||
ConsoleSaveFile *m_saveFile;
|
||||
FileEntry *m_file;
|
||||
|
||||
ConsoleSaveFile* m_saveFile;
|
||||
FileEntry* m_file;
|
||||
};
|
||||
Reference in New Issue
Block a user