ser/deser toch dood, wat nou?
This commit is contained in:
parent
3db59a876c
commit
48078182a1
@ -853,6 +853,8 @@ bool netprot::Deserialize(ErrorLog* errlog, char* buf, uint32_t *buflen) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
netprot::PACKET_TYPE netprot::getType(char* buf, const uint32_t buflen) {
|
netprot::PACKET_TYPE netprot::getType(char* buf, const uint32_t buflen) {
|
||||||
if (buflen < 1 ||
|
if (buflen < 1 ||
|
||||||
buf[0] >= (char)netprot::PACKET_TYPE::LAST_PACK ||
|
buf[0] >= (char)netprot::PACKET_TYPE::LAST_PACK ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user