mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
Initial work
This commit is contained in:
@@ -1834,33 +1834,6 @@ void Zone::ShowSpawnStatusByID(Mob* client, uint32 spawnid)
|
||||
client->Message(0, "No matching spawn id was found in this zone.");
|
||||
}
|
||||
|
||||
|
||||
bool Zone::RemoveSpawnEntry(uint32 spawnid)
|
||||
{
|
||||
LinkedListIterator<Spawn2*> iterator(spawn2_list);
|
||||
|
||||
|
||||
iterator.Reset();
|
||||
while(iterator.MoreElements())
|
||||
{
|
||||
if(iterator.GetData()->GetID() == spawnid)
|
||||
{
|
||||
iterator.RemoveCurrent();
|
||||
return true;
|
||||
}
|
||||
else
|
||||
iterator.Advance();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Zone::RemoveSpawnGroup(uint32 in_id) {
|
||||
if(spawn_group_list.RemoveSpawnGroup(in_id))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ZoneDatabase::GetDecayTimes(npcDecayTimes_Struct *npcCorpseDecayTimes)
|
||||
{
|
||||
const std::string query =
|
||||
|
||||
Reference in New Issue
Block a user