This commit is contained in:
Koncord 2016-08-29 21:03:04 +08:00
parent a661de2a84
commit 118ab32c9b

View file

@ -38,6 +38,11 @@ namespace mwmp
return (sizeof(packetID) + RakNet::RakNetGUID::size()); // packetID + RakNetGUID (uint64_t)
}
unsigned char GetPacketID()
{
return packetID;
}
protected:
template<class templateType>
void RW(templateType &data, unsigned int size, bool write)