24 #ifndef NET_MESSAGEIN_H
25 #define NET_MESSAGEIN_H
69 unsigned char readUInt8(
const char *
const str);
72 signed char readInt8(
const char *
const str);
99 const char *
const str);
109 const char *
const str);
114 void skip(
const unsigned int length,
115 const char *
const str);
125 const char *
const dstr);
128 const char *
const dstr);
131 const char *
const dstr);
149 MessageIn(const
char *const
data, const
unsigned int length);
uint32_t readUInt32(const char *const str)
int getVersionZero() const
int64_t readInt64(const char *const str)
float readFloat(const char *const str)
void readCoordinatePair(uint16_t &srcX, uint16_t &srcY, uint16_t &dstX, uint16_t &dstY, const char *const str)
int32_t readInt32(const char *const str)
signed char readInt8(const char *const str)
void skip(const unsigned int length, const char *const str)
uint16_t readUInt16(const char *const str)
int16_t readInt16(const char *const str)
BeingId readBeingId(const char *const str)
std::string readString(int length, const char *const dstr)
unsigned char readUInt8(const char *const str)
unsigned int getUnreadLength() const
unsigned int getLength() const
static uint8_t fromServerDirection(const uint8_t serverDir)
unsigned char * readBytes(int length, const char *const dstr)
std::string readRawString(int length, const char *const dstr)
void readCoordinates(uint16_t &x, uint16_t &y, uint8_t &direction, const char *const str)
int getVersionMain() const
int readItemId(const char *const str)
void skipToEnd(const char *const str)
#define A_DELETE_COPY(func)