mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Cleanup] Remove NumberOfAvailableTitles() from titles.h (#3006)
# Notes - This is unused.
This commit is contained in:
@@ -93,18 +93,6 @@ EQApplicationPacket *TitleManager::MakeTitlesPacket(Client *client)
|
||||
return(outapp);
|
||||
}
|
||||
|
||||
int TitleManager::NumberOfAvailableTitles(Client *client)
|
||||
{
|
||||
int count = 0;
|
||||
for (const auto& title : titles) {
|
||||
if (IsClientEligibleForTitle(client, title)) {
|
||||
++count;
|
||||
}
|
||||
}
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
std::string TitleManager::GetPrefix(int title_id)
|
||||
{
|
||||
if (!title_id) {
|
||||
|
||||
Reference in New Issue
Block a user