feat: update cifList for unity

This commit is contained in:
semenov
2026-01-29 17:12:15 +03:00
parent 24e41a0e59
commit f3bebaeb26
5 changed files with 27 additions and 7 deletions

View File

@@ -176,3 +176,17 @@ void CommonClientHandler::slot_DocsChanged()
}
}
void CommonClientHandler::sendXmlAnswer(QByteArray array)
{
foreach(int idSocket, clientsMap->keys())
{
ClientHandler *handler = clientsMap->value(idSocket);
TypeClientAutorization type = handler->getClient()->getTypeClient();
if(type == TypeClientAutorization::TYPE_UNITY_CLIENT)
{
handler->sendXmlAnswer(array,PacketType::TYPE_UPDATEDCFI);
}
}
}