mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-03 13:22:28 +00:00
[Cleanup] Remove RemoveSpawnGroup() from spawngroup.h (#3090)
# Notes - This is unused.
This commit is contained in:
parent
460739d35c
commit
fea6cbf633
@ -145,17 +145,6 @@ SpawnGroup *SpawnGroupList::GetSpawnGroup(uint32 in_id)
|
|||||||
return (m_spawn_groups[in_id].get());
|
return (m_spawn_groups[in_id].get());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SpawnGroupList::RemoveSpawnGroup(uint32 in_id)
|
|
||||||
{
|
|
||||||
if (m_spawn_groups.count(in_id) != 1) {
|
|
||||||
return (false);
|
|
||||||
}
|
|
||||||
|
|
||||||
m_spawn_groups.erase(in_id);
|
|
||||||
|
|
||||||
return (true);
|
|
||||||
}
|
|
||||||
|
|
||||||
void SpawnGroupList::ReloadSpawnGroups()
|
void SpawnGroupList::ReloadSpawnGroups()
|
||||||
{
|
{
|
||||||
ClearSpawnGroups();
|
ClearSpawnGroups();
|
||||||
|
|||||||
@ -78,7 +78,6 @@ public:
|
|||||||
|
|
||||||
void AddSpawnGroup(std::unique_ptr<SpawnGroup> &new_group);
|
void AddSpawnGroup(std::unique_ptr<SpawnGroup> &new_group);
|
||||||
SpawnGroup *GetSpawnGroup(uint32 id);
|
SpawnGroup *GetSpawnGroup(uint32 id);
|
||||||
bool RemoveSpawnGroup(uint32 in_id);
|
|
||||||
void ClearSpawnGroups();
|
void ClearSpawnGroups();
|
||||||
void ReloadSpawnGroups();
|
void ReloadSpawnGroups();
|
||||||
private:
|
private:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user