mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 18:56:55 +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
|
<< CreateAssignment << RequestAssignment << StunResponse
|
||||||
<< NodeJsonStats << EntityQuery
|
<< NodeJsonStats << EntityQuery
|
||||||
<< OctreeDataNack << EntityEditNack
|
<< OctreeDataNack << EntityEditNack
|
||||||
<< IceServerHeartbeat << IceServerPeerInformation
|
<< ICEServerHeartbeat << ICEServerPeerInformation
|
||||||
<< IceServerQuery << UnverifiedPing
|
<< ICEServerQuery << Ping
|
||||||
<< UnverifiedPingReply << StopNode
|
<< PingReply << StopNode
|
||||||
<< DomainServerPathQuery << DomainServerPathResponse
|
<< DomainServerPathQuery << DomainServerPathResponse
|
||||||
<< DomainServerAddedNode;
|
<< DomainServerAddedNode;
|
||||||
|
|
||||||
|
@ -97,8 +97,8 @@ PacketVersion versionForPacketType(PacketType::Value packetType) {
|
||||||
return 2;
|
return 2;
|
||||||
case AudioStreamStats:
|
case AudioStreamStats:
|
||||||
return 1;
|
return 1;
|
||||||
case IceServerHeartbeat:
|
case ICEServerHeartbeat:
|
||||||
case IceServerQuery:
|
case ICEServerQuery:
|
||||||
return 1;
|
return 1;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -146,12 +146,12 @@ QString nameForPacketType(PacketType::Value packetType) {
|
||||||
PACKET_TYPE_NAME_LOOKUP(AudioEnvironment);
|
PACKET_TYPE_NAME_LOOKUP(AudioEnvironment);
|
||||||
PACKET_TYPE_NAME_LOOKUP(EntityEditNack);
|
PACKET_TYPE_NAME_LOOKUP(EntityEditNack);
|
||||||
PACKET_TYPE_NAME_LOOKUP(SignedTransactionPayment);
|
PACKET_TYPE_NAME_LOOKUP(SignedTransactionPayment);
|
||||||
PACKET_TYPE_NAME_LOOKUP(IceServerHeartbeat);
|
PACKET_TYPE_NAME_LOOKUP(ICEServerHeartbeat);
|
||||||
PACKET_TYPE_NAME_LOOKUP(DomainServerAddedNode);
|
PACKET_TYPE_NAME_LOOKUP(DomainServerAddedNode);
|
||||||
PACKET_TYPE_NAME_LOOKUP(IceServerQuery);
|
PACKET_TYPE_NAME_LOOKUP(ICEServerQuery);
|
||||||
PACKET_TYPE_NAME_LOOKUP(IceServerPeerInformation);
|
PACKET_TYPE_NAME_LOOKUP(ICEServerPeerInformation);
|
||||||
PACKET_TYPE_NAME_LOOKUP(UnverifiedPing);
|
PACKET_TYPE_NAME_LOOKUP(ICEPing);
|
||||||
PACKET_TYPE_NAME_LOOKUP(UnverifiedPingReply);
|
PACKET_TYPE_NAME_LOOKUP(ICEPingReply);
|
||||||
PACKET_TYPE_NAME_LOOKUP(EntityAdd);
|
PACKET_TYPE_NAME_LOOKUP(EntityAdd);
|
||||||
PACKET_TYPE_NAME_LOOKUP(EntityEdit);
|
PACKET_TYPE_NAME_LOOKUP(EntityEdit);
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -52,8 +52,8 @@ namespace PacketType {
|
||||||
DomainServerPathQuery,
|
DomainServerPathQuery,
|
||||||
DomainServerPathResponse,
|
DomainServerPathResponse,
|
||||||
DomainServerAddedNode,
|
DomainServerAddedNode,
|
||||||
IceServerPeerInformation,
|
ICEServerPeerInformation,
|
||||||
IceServerQuery, // 25
|
ICEServerQuery, // 25
|
||||||
OctreeStats,
|
OctreeStats,
|
||||||
Jurisdiction,
|
Jurisdiction,
|
||||||
JurisdictionRequest,
|
JurisdictionRequest,
|
||||||
|
|
Loading…
Reference in a new issue