mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 14:34:26 +02:00
add a NodeDisconnect packet
This commit is contained in:
parent
319f9fc30e
commit
288ee0e9e8
2 changed files with 3 additions and 1 deletions
libraries/networking/src/udt
|
@ -93,6 +93,7 @@ QString nameForPacketType(PacketType packetType) {
|
|||
PACKET_TYPE_NAME_LOOKUP(PacketType::EntityAdd);
|
||||
PACKET_TYPE_NAME_LOOKUP(PacketType::EntityEdit);
|
||||
PACKET_TYPE_NAME_LOOKUP(PacketType::DomainServerConnectionToken);
|
||||
PACKET_TYPE_NAME_LOOKUP(PacketType::NodeDisconnect)
|
||||
default:
|
||||
return QString("Type: ") + QString::number((int)packetType);
|
||||
}
|
||||
|
|
|
@ -79,7 +79,8 @@ enum class PacketType : uint8_t {
|
|||
AssetUpload,
|
||||
AssetUploadReply,
|
||||
AssetGetInfo,
|
||||
AssetGetInfoReply
|
||||
AssetGetInfoReply,
|
||||
NodeDisconnect
|
||||
};
|
||||
|
||||
const int NUM_BYTES_MD5_HASH = 16;
|
||||
|
|
Loading…
Reference in a new issue