mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-04 19:33:40 +00:00
41 lines
1.2 KiB
C++
41 lines
1.2 KiB
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "../Global.h"
|
|
|
|
#define BEFORE_EXTRA
|
|
|
|
#undef BEFORE_EXTRA
|
|
|
|
class ReadOnlyBinaryStream {
|
|
|
|
#define AFTER_EXTRA
|
|
|
|
#undef AFTER_EXTRA
|
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_READONLYBINARYSTREAM
|
|
public:
|
|
class ReadOnlyBinaryStream& operator=(class ReadOnlyBinaryStream const &) = delete;
|
|
ReadOnlyBinaryStream(class ReadOnlyBinaryStream const &) = delete;
|
|
ReadOnlyBinaryStream() = delete;
|
|
#endif
|
|
|
|
public:
|
|
/*0*/ virtual ~ReadOnlyBinaryStream();
|
|
/*1*/ virtual bool read(void *, unsigned __int64);
|
|
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_READONLYBINARYSTREAM
|
|
#endif
|
|
MCAPI ReadOnlyBinaryStream(std::string const &, bool);
|
|
MCAPI bool canReadBool() const;
|
|
MCAPI unsigned char getByte();
|
|
MCAPI float getFloat();
|
|
MCAPI int getSignedBigEndianInt();
|
|
MCAPI short getSignedShort();
|
|
MCAPI void getString(std::string &);
|
|
MCAPI std::string getString();
|
|
MCAPI unsigned char getUnsignedChar();
|
|
MCAPI unsigned int getUnsignedInt();
|
|
MCAPI unsigned short getUnsignedShort();
|
|
MCAPI unsigned int getUnsignedVarInt();
|
|
MCAPI unsigned __int64 getUnsignedVarInt64();
|
|
|
|
}; |