mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 09:43:47 +02:00
Fix a couple packet types names
This commit is contained in:
parent
833f36e88e
commit
e0119e8767
2 changed files with 12 additions and 12 deletions
|
@ -23,9 +23,9 @@ const QSet<PacketType::Value> NON_VERIFIED_PACKETS = QSet<PacketType::Value>()
|
|||
<< CreateAssignment << RequestAssignment << StunResponse
|
||||
<< NodeJsonStats << EntityQuery
|
||||
<< OctreeDataNack << EntityEditNack
|
||||
<< IceServerHeartbeat << IceServerPeerInformation
|
||||
<< IceServerQuery << UnverifiedPing
|
||||
<< UnverifiedPingReply << StopNode
|
||||
<< ICEServerHeartbeat << ICEServerPeerInformation
|
||||
<< ICEServerQuery << Ping
|
||||
<< PingReply << StopNode
|
||||
<< DomainServerPathQuery << DomainServerPathResponse
|
||||
<< DomainServerAddedNode;
|
||||
|
||||
|
@ -97,8 +97,8 @@ PacketVersion versionForPacketType(PacketType::Value packetType) {
|
|||
return 2;
|
||||
case AudioStreamStats:
|
||||
return 1;
|
||||
case IceServerHeartbeat:
|
||||
case IceServerQuery:
|
||||
case ICEServerHeartbeat:
|
||||
case ICEServerQuery:
|
||||
return 1;
|
||||
default:
|
||||
return 0;
|
||||
|
@ -146,12 +146,12 @@ QString nameForPacketType(PacketType::Value packetType) {
|
|||
PACKET_TYPE_NAME_LOOKUP(AudioEnvironment);
|
||||
PACKET_TYPE_NAME_LOOKUP(EntityEditNack);
|
||||
PACKET_TYPE_NAME_LOOKUP(SignedTransactionPayment);
|
||||
PACKET_TYPE_NAME_LOOKUP(IceServerHeartbeat);
|
||||
PACKET_TYPE_NAME_LOOKUP(ICEServerHeartbeat);
|
||||
PACKET_TYPE_NAME_LOOKUP(DomainServerAddedNode);
|
||||
PACKET_TYPE_NAME_LOOKUP(IceServerQuery);
|
||||
PACKET_TYPE_NAME_LOOKUP(IceServerPeerInformation);
|
||||
PACKET_TYPE_NAME_LOOKUP(UnverifiedPing);
|
||||
PACKET_TYPE_NAME_LOOKUP(UnverifiedPingReply);
|
||||
PACKET_TYPE_NAME_LOOKUP(ICEServerQuery);
|
||||
PACKET_TYPE_NAME_LOOKUP(ICEServerPeerInformation);
|
||||
PACKET_TYPE_NAME_LOOKUP(ICEPing);
|
||||
PACKET_TYPE_NAME_LOOKUP(ICEPingReply);
|
||||
PACKET_TYPE_NAME_LOOKUP(EntityAdd);
|
||||
PACKET_TYPE_NAME_LOOKUP(EntityEdit);
|
||||
default:
|
||||
|
|
|
@ -52,8 +52,8 @@ namespace PacketType {
|
|||
DomainServerPathQuery,
|
||||
DomainServerPathResponse,
|
||||
DomainServerAddedNode,
|
||||
IceServerPeerInformation,
|
||||
IceServerQuery, // 25
|
||||
ICEServerPeerInformation,
|
||||
ICEServerQuery, // 25
|
||||
OctreeStats,
|
||||
Jurisdiction,
|
||||
JurisdictionRequest,
|
||||
|
|
Loading…
Reference in a new issue