mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 19:10:25 +00:00
[Cleanup] Remove GetClientCount() from zone/entity.cpp and zone/entity.h (#3392)
* [Cleanup] Remove GetClientCount() from zone/entity.cpp and zone/entity.h # Notes - This is unused. * Update entity.cpp
This commit is contained in:
@@ -5007,20 +5007,6 @@ void EntityList::SignalAllClients(int signal_id)
|
||||
}
|
||||
}
|
||||
|
||||
uint16 EntityList::GetClientCount(){
|
||||
uint16 ClientCount = 0;
|
||||
std::list<Client*> client_list;
|
||||
entity_list.GetClientList(client_list);
|
||||
auto iter = client_list.begin();
|
||||
while (iter != client_list.end()) {
|
||||
Client *entry = (*iter);
|
||||
entry->GetCleanName();
|
||||
ClientCount++;
|
||||
iter++;
|
||||
}
|
||||
return ClientCount;
|
||||
}
|
||||
|
||||
void EntityList::GetMobList(std::list<Mob *> &m_list)
|
||||
{
|
||||
m_list.clear();
|
||||
|
||||
Reference in New Issue
Block a user