mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-17 10:48:21 +00:00
[Cleanup] Remove AllConnected(), CanUpdate(), and SendInfo() from login_server_list.cpp and login_server_list.h (#3104)
# Notes - These are unused.
This commit is contained in:
@@ -55,14 +55,6 @@ void LoginServerList::Add(const char* iAddress, uint16 iPort, const char* Accoun
|
||||
m_list.push_back(std::unique_ptr<LoginServer>(loginserver));
|
||||
}
|
||||
|
||||
bool LoginServerList::SendInfo() {
|
||||
for (auto &iter : m_list) {
|
||||
(*iter).SendInfo();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool LoginServerList::SendStatus() {
|
||||
for (auto &iter : m_list) {
|
||||
(*iter).SendStatus();
|
||||
@@ -99,23 +91,3 @@ bool LoginServerList::Connected() {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool LoginServerList::AllConnected() {
|
||||
for (auto &iter : m_list) {
|
||||
if (!(*iter).Connected()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool LoginServerList::CanUpdate() {
|
||||
for (auto &iter : m_list) {
|
||||
if ((*iter).CanUpdate()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user