mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-12 23:44:34 +02:00
Added a way to reset a zone and reload the NPC list.
This commit is contained in:
parent
f1025f89d3
commit
e043be5ca4
3 changed files with 122 additions and 12 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue