codex-5.2: Отладка сети со стороны клиента

This commit is contained in:
2026-01-05 02:25:51 +06:00
parent 6c7a6df8f6
commit 2b2be796e9
33 changed files with 49 additions and 926 deletions

View File

@@ -389,10 +389,8 @@ void RemoteClient::NetworkAndResource_t::prepareWorldRemove(WorldId_t worldId)
void RemoteClient::prepareCameraSetEntity(ServerEntityId_t entityId) {
auto lock = NetworkAndResource.lock();
ClientEntityId_t cId = lock->ReMapEntities.toClient(entityId);
lock->checkPacketBorder(8);
lock->NextPacket << (uint8_t) ToClient::TestLinkCameraToEntity
<< cId;
lock->checkPacketBorder(4);
lock->NextPacket << (uint8_t) ToClient::TestLinkCameraToEntity;
}
ResourceRequest RemoteClient::pushPreparedPackets() {