From 71760514fc044f273914c17b1510fa3cf10419b3 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 21 Apr 2017 18:31:43 +0500 Subject: 2017-04-21 --- Field.hpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'Field.hpp') diff --git a/Field.hpp b/Field.hpp index 4620ab3..43769dc 100644 --- a/Field.hpp +++ b/Field.hpp @@ -1,7 +1,6 @@ #pragma once #include -#include #include #include #include @@ -14,7 +13,7 @@ typedef signed char sbyte; enum FieldType { Unknown = 0, Boolean, //Bool - Byte, //int8_t + Byte8_t, //int8_t UnsignedByte, //uint8_t Short, //int16_t UnsignedShort, //uint16_t @@ -27,7 +26,7 @@ enum FieldType { Uuid, //byte* (2 bytes) //Unknown-length data - String = 100, //std::string + String = 100, //std::string Chat, //std::string VarInt, //int32_t VarLong, //int64_t @@ -112,10 +111,6 @@ public: std::vector GetArray(); - /*Field GetArrayItem(int pos, size_t defaultFieldLen = 0); - - void SetArray(int count);*/ - private: size_t m_dataLength = 0; byte *m_data = nullptr; -- cgit v1.2.3