Added a way to reset a zone and reload the NPC list.

This commit is contained in:
Filip Maj 2016-01-24 03:10:17 -05:00
parent f1025f89d3
commit e043be5ca4
3 changed files with 122 additions and 12 deletions

View file

@ -268,5 +268,18 @@ namespace FFXIVClassic_Map_Server.Actors
return (Player)mActorList[id];
}
public void clear()
{
//Clear All
mActorList.Clear();
for (int y = 0; y < numYBlocks; y++)
{
for (int x = 0; x < numXBlocks; x++)
{
mActorBlock[x, y].Clear();
}
}
}
}
}