mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
add id to debug thread id print
This commit is contained in:
parent
9c9f503e5c
commit
dd5b0bdd6d
@ -296,7 +296,7 @@ void TNetwork::Authentication(SOCKET TCPSock) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
RegisterThread(Client->GetName());
|
RegisterThread("(" + std::to_string(Client->GetID()) + ") " + Client->GetName());
|
||||||
debug("Name -> " + Client->GetName() + ", Guest -> " + std::to_string(Client->IsGuest()) + ", Roles -> " + Client->GetRoles());
|
debug("Name -> " + Client->GetName() + ", Guest -> " + std::to_string(Client->IsGuest()) + ", Roles -> " + Client->GetRoles());
|
||||||
debug("There are " + std::to_string(mServer.ClientCount()) + " known clients");
|
debug("There are " + std::to_string(mServer.ClientCount()) + " known clients");
|
||||||
mServer.ForEachClient([&](const std::weak_ptr<TClient>& ClientPtr) -> bool {
|
mServer.ForEachClient([&](const std::weak_ptr<TClient>& ClientPtr) -> bool {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user