mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Started to implement private areas. Works mostly, but only one instance is created. All the push triggers work more or less except bounding box.
This commit is contained in:
@@ -20,6 +20,17 @@ namespace FFXIVClassic_Map_Server.actors.area
|
||||
|
||||
}
|
||||
|
||||
public void addPrivateArea(PrivateArea pa)
|
||||
{
|
||||
if (privateAreas.ContainsKey(pa.getPrivateAreaName()))
|
||||
privateAreas[pa.getPrivateAreaName()][0] = pa;
|
||||
else
|
||||
{
|
||||
privateAreas[pa.getPrivateAreaName()] = new Dictionary<uint, PrivateArea>();
|
||||
privateAreas[pa.getPrivateAreaName()][0] = pa;
|
||||
}
|
||||
}
|
||||
|
||||
public PrivateArea getPrivateArea(string type, uint number)
|
||||
{
|
||||
if (privateAreas.ContainsKey(type))
|
||||
|
Reference in New Issue
Block a user