mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:21:24 +02:00
Bump packet version size up.
This commit is contained in:
parent
c6f47eca23
commit
430d748b29
1 changed files with 4 additions and 3 deletions
|
@ -212,10 +212,11 @@ using PacketType = PacketTypeEnum::Value;
|
||||||
|
|
||||||
const int NUM_BYTES_MD5_HASH = 16;
|
const int NUM_BYTES_MD5_HASH = 16;
|
||||||
|
|
||||||
typedef char PacketVersion;
|
// NOTE: There is a max limit of 255, hopefully we have a better way to manage this by then.
|
||||||
|
typedef uint8_t PacketVersion;
|
||||||
|
|
||||||
PacketVersion versionForPacketType(PacketType packetType);
|
PacketVersion versionForPacketType(PacketType packetType);
|
||||||
QByteArray protocolVersionsSignature(); /// returns a unqiue signature for all the current protocols
|
QByteArray protocolVersionsSignature(); /// returns a unique signature for all the current protocols
|
||||||
QString protocolVersionsSignatureBase64();
|
QString protocolVersionsSignatureBase64();
|
||||||
|
|
||||||
#if (PR_BUILD || DEV_BUILD)
|
#if (PR_BUILD || DEV_BUILD)
|
||||||
|
@ -226,7 +227,7 @@ uint qHash(const PacketType& key, uint seed);
|
||||||
QDebug operator<<(QDebug debug, const PacketType& type);
|
QDebug operator<<(QDebug debug, const PacketType& type);
|
||||||
|
|
||||||
// Due to the different legacy behaviour, we need special processing for domains that were created before
|
// Due to the different legacy behaviour, we need special processing for domains that were created before
|
||||||
// the zone inheritance modes were added. These have version numbers up to 80
|
// the zone inheritance modes were added. These have version numbers up to 80.
|
||||||
enum class EntityVersion : PacketVersion {
|
enum class EntityVersion : PacketVersion {
|
||||||
StrokeColorProperty = 0,
|
StrokeColorProperty = 0,
|
||||||
HasDynamicOwnershipTests,
|
HasDynamicOwnershipTests,
|
||||||
|
|
Loading…
Reference in a new issue