mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 16:11:37 -04:00
fix header size
This commit is contained in:
parent
c695923825
commit
32a2327f59
@ -33,9 +33,9 @@ namespace mwmp
|
|||||||
void SetSendStream(RakNet::BitStream *bitStream);
|
void SetSendStream(RakNet::BitStream *bitStream);
|
||||||
void SetStreams(RakNet::BitStream *inStream, RakNet::BitStream *outStream);
|
void SetStreams(RakNet::BitStream *inStream, RakNet::BitStream *outStream);
|
||||||
|
|
||||||
size_t headerSize()
|
static const size_t headerSize()
|
||||||
{
|
{
|
||||||
return 9; // 9 == packetID + RakNetGUID (uint64_t)
|
return (sizeof(packetID) + RakNet::RakNetGUID::size()); // packetID + RakNetGUID (uint64_t)
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user