mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Add PacketType qMetaType
This commit is contained in:
parent
cc9c87d281
commit
aa63dcc9d2
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@
|
|||
#include <QtCore/QDebug>
|
||||
#include <QtCore/QMetaEnum>
|
||||
|
||||
|
||||
Q_DECLARE_METATYPE(PacketType);
|
||||
static int packetTypeMetaTypeId = qRegisterMetaType<PacketType>();
|
||||
|
||||
const QSet<PacketType> NON_VERIFIED_PACKETS = QSet<PacketType>()
|
||||
<< PacketType::NodeJsonStats << PacketType::EntityQuery
|
||||
<< PacketType::OctreeDataNack << PacketType::EntityEditNack
|
||||
|
|
Loading…
Reference in a new issue