mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Remove the cruft of accessing a private member of another module's class
from DataSnapshot and replace it with a best practices approach, making it much less dependent on the land module's internal structure and types.
This commit is contained in:
@@ -175,6 +175,11 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||
AddLandObject(fullSimParcel);
|
||||
}
|
||||
|
||||
public List<ILandObject> AllParcels()
|
||||
{
|
||||
return new List<ILandObject>(landList.Values);
|
||||
}
|
||||
|
||||
public List<ILandObject> ParcelsNearPoint(Vector3 position)
|
||||
{
|
||||
List<ILandObject> parcelsNear = new List<ILandObject>();
|
||||
|
||||
Reference in New Issue
Block a user