NetworkBuffer now has a fixed header value of 8
Implemented NetworkMessage EncodeMessage
This commit is contained in:
@ -14,7 +14,7 @@ struct NetworkBuffer
|
||||
NetworkBuffer();
|
||||
~NetworkBuffer();
|
||||
|
||||
std::vector<byte> header; // contains the size of the body
|
||||
std::vector<byte> header = Utility::BitConverter::FromUint32(8); // contains the size of the body
|
||||
std::vector<byte> body;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user