refactor: remove redundant debug output in ensureVersionTable function
This commit is contained in:
@@ -286,12 +286,6 @@ static void ensureVersionTable(uint8_t& vAvatarRemoveAttachments,
|
|||||||
s_vAvatarRemoveAttachments = static_cast<uint8_t>(avatar["RemoveAttachments"]);
|
s_vAvatarRemoveAttachments = static_cast<uint8_t>(avatar["RemoveAttachments"]);
|
||||||
s_vAvatarTraitsAck = static_cast<uint8_t>(avatar["AvatarTraitsAck"]);
|
s_vAvatarTraitsAck = static_cast<uint8_t>(avatar["AvatarTraitsAck"]);
|
||||||
s_vAvatarQueryConical = static_cast<uint8_t>(avatarQuery["ConicalFrustums"]);
|
s_vAvatarQueryConical = static_cast<uint8_t>(avatarQuery["ConicalFrustums"]);
|
||||||
|
|
||||||
// Debug: print parsed values
|
|
||||||
std::cout << "[DEBUG] Parsed version values:" << std::endl;
|
|
||||||
std::cout << " RemoveAttachments: " << (int)s_vAvatarRemoveAttachments << std::endl;
|
|
||||||
std::cout << " AvatarTraitsAck: " << (int)s_vAvatarTraitsAck << std::endl;
|
|
||||||
std::cout << " ConicalFrustums: " << (int)s_vAvatarQueryConical << std::endl;
|
|
||||||
// Entity LAST_PACKET_TYPE is number of entries - 1 before NUM_PACKET_TYPE
|
// Entity LAST_PACKET_TYPE is number of entries - 1 before NUM_PACKET_TYPE
|
||||||
// If parsing map failed to give LAST_PACKET_TYPE, derive from count of entries before NUM_PACKET_TYPE label.
|
// If parsing map failed to give LAST_PACKET_TYPE, derive from count of entries before NUM_PACKET_TYPE label.
|
||||||
int entityCount = 0;
|
int entityCount = 0;
|
||||||
@@ -328,11 +322,6 @@ static void ensureVersionTable(uint8_t& vAvatarRemoveAttachments,
|
|||||||
s_vPingIncludeConnID = static_cast<uint8_t>(ping["IncludeConnectionID"]);
|
s_vPingIncludeConnID = static_cast<uint8_t>(ping["IncludeConnectionID"]);
|
||||||
s_vIcePingSendPeerID = static_cast<uint8_t>(icePing["SendICEPeerID"]);
|
s_vIcePingSendPeerID = static_cast<uint8_t>(icePing["SendICEPeerID"]);
|
||||||
s_vAudioStopInjectors = static_cast<uint8_t>(audio["StopInjectors"]);
|
s_vAudioStopInjectors = static_cast<uint8_t>(audio["StopInjectors"]);
|
||||||
|
|
||||||
// More debug
|
|
||||||
std::cout << " EntityLastPacket: " << (int)s_vEntityLastPacket << " (from count=" << entityCount << ")" << std::endl;
|
|
||||||
std::cout << " EntityParticleSpin: " << (int)s_vEntityParticleSpin << std::endl;
|
|
||||||
std::cout << " AudioStopInjectors: " << (int)s_vAudioStopInjectors << std::endl;
|
|
||||||
s_numPacketTypes = parsePacketTypeCount(content);
|
s_numPacketTypes = parsePacketTypeCount(content);
|
||||||
inited = true;
|
inited = true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user