SQC-15_online #1
@ -853,6 +853,8 @@ bool netprot::Deserialize(ErrorLog* errlog, char* buf, uint32_t *buflen) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
netprot::PACKET_TYPE netprot::getType(char* buf, const uint32_t buflen) {
|
||||
if (buflen < 1 ||
|
||||
buf[0] >= (char)netprot::PACKET_TYPE::LAST_PACK ||
|
||||
|
Loading…
Reference in New Issue
Block a user