mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 19:52:17 +00:00
[Cleanup] Remove NumberOfAvailableTitles() from titles.h (#3006)
# Notes - This is unused.
This commit is contained in:
1 parent
3448758c03
commit
1ff4541a9f
2 files changed
-13
No files matched your search
@@ -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