mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-26 19:21:28 +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:
parent
795df5c597
commit
152e99444c
@ -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();
|
||||
|
||||
@ -513,7 +513,6 @@ public:
|
||||
|
||||
void GateAllClientsToSafeReturn();
|
||||
|
||||
uint16 GetClientCount();
|
||||
void GetMobList(std::list<Mob*> &m_list);
|
||||
void GetNPCList(std::list<NPC*> &n_list);
|
||||
void GetMercList(std::list<Merc*> &n_list);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user