Some work on compression, the way the client does it is... bizarre and not how i orig thought it would be.

This commit is contained in:
KimLS
2016-09-28 23:51:37 -07:00
parent f2be05f47f
commit a76149c8e3
7 changed files with 200 additions and 184 deletions
+3 -5
View File
@@ -74,15 +74,13 @@ namespace EQ
uint8_t zero;
uint8_t opcode;
uint32_t connect_code;
uint16_t disconnect_code;
template <class Archive>
void serialize(Archive & archive)
{
archive(CEREAL_NVP(zero),
CEREAL_NVP(opcode),
CEREAL_NVP(connect_code),
CEREAL_NVP(disconnect_code));
CEREAL_NVP(connect_code));
}
};
@@ -116,7 +114,7 @@ namespace EQ
}
};
struct DaybreakSessionStatRequestHeader
struct DaybreakSessionStatRequest
{
static size_t size() { return 40; }
uint8_t zero;
@@ -146,7 +144,7 @@ namespace EQ
}
};
struct DaybreakSessionStatResponseHeader
struct DaybreakSessionStatResponse
{
static size_t size() { return 40; }
uint8_t zero;