summaryrefslogtreecommitdiffstats
path: root/src/Stream.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Stream.hpp')
-rw-r--r--src/Stream.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Stream.hpp b/src/Stream.hpp
index b733d3b..8269300 100644
--- a/src/Stream.hpp
+++ b/src/Stream.hpp
@@ -8,7 +8,7 @@
class Socket;
-struct SlotData {
+struct SlotDataType {
short BlockId = -1;
signed char ItemCount = 1;
short ItemDamage = 0;
@@ -38,7 +38,7 @@ public:
int ReadVarInt();
long long ReadVarLong();
std::vector<unsigned char> ReadEntityMetadata();
- SlotData ReadSlot();
+ SlotDataType ReadSlot();
std::vector<unsigned char> ReadNbtTag();
Vector ReadPosition();
unsigned char ReadAngle();
@@ -64,7 +64,7 @@ public:
void WriteVarInt(int value);
void WriteVarLong(long long value);
void WriteEntityMetadata(const std::vector<unsigned char> &value);
- void WriteSlot(const SlotData &value);
+ void WriteSlot(const SlotDataType &value);
void WriteNbtTag(const std::vector<unsigned char> &value);
void WritePosition(const Vector &value);
void WriteAngle(unsigned char value);