mirror of
https://github.com/overte-org/overte.git
synced 2025-07-24 01:23:55 +02:00
replace PacketList usage with NLPacketList
This commit is contained in:
parent
6d502405ef
commit
1f68ad892a
4 changed files with 4 additions and 4 deletions
|
@ -213,7 +213,7 @@ void AvatarMixer::broadcastAvatarData() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// setup a PacketList for the avatarPackets
|
// setup a PacketList for the avatarPackets
|
||||||
PacketList avatarPacketList(PacketType::AvatarData);
|
NLPacketList avatarPacketList(PacketType::AvatarData);
|
||||||
|
|
||||||
// this is an AGENT we have received head data from
|
// this is an AGENT we have received head data from
|
||||||
// send back a packet with other active node data to this node
|
// send back a packet with other active node data to this node
|
||||||
|
|
|
@ -240,7 +240,7 @@ int OctreeInboundPacketProcessor::sendNackPackets() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
PacketList nackPacketList = PacketList(_myServer->getMyEditNackType();
|
NLPacketList nackPacketList(_myServer->getMyEditNackType();
|
||||||
auto nodeList = DependencyManager::get<NodeList>();
|
auto nodeList = DependencyManager::get<NodeList>();
|
||||||
|
|
||||||
NodeToSenderStatsMapIterator i = _singleSenderStats.begin();
|
NodeToSenderStatsMapIterator i = _singleSenderStats.begin();
|
||||||
|
|
|
@ -927,7 +927,7 @@ void DomainServer::sendDomainListToNode(const SharedNodePointer& node, const Hif
|
||||||
const NodeSet& nodeInterestSet) {
|
const NodeSet& nodeInterestSet) {
|
||||||
auto limitedNodeList = DependencyManager::get<LimitedNodeList>();
|
auto limitedNodeList = DependencyManager::get<LimitedNodeList>();
|
||||||
|
|
||||||
PacketList domainListPackets(PacketType::DomainList);
|
NLPacketList domainListPackets(PacketType::DomainList);
|
||||||
|
|
||||||
// always send the node their own UUID back
|
// always send the node their own UUID back
|
||||||
QDataStream domainListStream(&domainListPackets);
|
QDataStream domainListStream(&domainListPackets);
|
||||||
|
|
|
@ -2660,7 +2660,7 @@ int Application::sendNackPackets() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
PacketList nackPacketList = PacketList(PacketType::OctreeDataNack);
|
NLPacketList nackPacketList(PacketType::OctreeDataNack);
|
||||||
|
|
||||||
// iterates thru all nodes in NodeList
|
// iterates thru all nodes in NodeList
|
||||||
auto nodeList = DependencyManager::get<NodeList>();
|
auto nodeList = DependencyManager::get<NodeList>();
|
||||||
|
|
Loading…
Reference in a new issue