[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:
Alex King
2023-03-17 06:22:34 -04:00
committed by GitHub
parent 61bd485449
commit bbdaacd3b0
2 changed files with 0 additions and 34 deletions
-28
View File
@@ -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;
}