chore: format everything

This commit is contained in:
Tropical
2026-03-30 02:13:59 -05:00
parent 470ddf959d
commit c9b90cae2c
463 changed files with 12748 additions and 11285 deletions

View File

@@ -460,7 +460,8 @@ void Socket::SocketOutputStreamNetwork::writeWithFlags(byteArray b,
INetworkPlayer* socketPlayer = m_socket->getPlayer();
if (socketPlayer == nullptr) {
app.DebugPrintf(
"Trying to write to network, but the socketPlayer is nullptr\n");
"Trying to write to network, but the socketPlayer is "
"nullptr\n");
return;
}
@@ -477,11 +478,12 @@ void Socket::SocketOutputStreamNetwork::writeWithFlags(byteArray b,
hostPlayer->SendData(socketPlayer, buffer.pbyData,
buffer.dwDataSize, lowPriority, requireAck);
// uint32_t queueSize = hostPlayer->GetSendQueueSize( nullptr,
// QNET_GETSENDQUEUESIZE_BYTES ); if( queueSize > 24000 )
// uint32_t queueSize = hostPlayer->GetSendQueueSize(
// nullptr, QNET_GETSENDQUEUESIZE_BYTES ); if(
// queueSize > 24000 )
// {
// //printf("Queue size is: %d, forcing
// doWork()\n",queueSize); g_NetworkManager.DoWork();
// doWork()\n",queueSize); g_NetworkManager.DoWork();
// }
} else {
// printf( "Sent %u bytes of data from \"%ls\" to \"%ls\"\n",