28 using System.Collections.Generic;
30 using OpenSim.Framework;
31 using OpenSim.Region.Framework.Interfaces;
32 using OpenSim.Region.Framework.Scenes;
33 using OpenSim.Region.CoreModules.World.Land;
35 namespace OpenSim.Tests.Common
42 private Scene m_scene;
43 private List<ILandObject> m_parcels;
48 m_parcels =
new List<ILandObject>();
52 private void SetupDefaultParcel()
55 obj.LandData.Name =
"Your Parcel";
61 return new List<ILandObject>();
69 public void Clear(
bool setupDefaultParcel)
73 if (setupDefaultParcel)
80 obj.LandData.Name =
"NO LAND";
86 return GetLandObject(position.X, position.Y);
112 public void Join(
int start_x,
int start_y,
int end_x,
int end_y, UUID attempting_user_id) {}
113 public void Subdivide(
int start_x,
int start_y,
int end_x,
int end_y, UUID attempting_user_id) {}
void setSimulatorObjectMaxOverride(overrideSimulatorMaxPrimCountDelegate overrideDel)
void UpdateLandObject(int localID, LandData data)
List< ILandObject > AllParcels()
Get all parcels
void SetParcelOtherCleanTime(IClientAPI remoteClient, int localID, int otherCleanTime)
List< ILandObject > ParcelsNearPoint(Vector3 position)
Get the parcels near the specified point
void Subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
ILandObject GetLandObject(int localID)
Get the parcel given the land's local id.
void sendClientInitialLandInfo(IClientAPI remoteClient)
ILandObject GetLandObject(int x, int y)
Get the parcel at the specified point
Keeps track of a specific piece of land's information
void setParcelObjectMaxOverride(overrideParcelMaxPrimCountDelegate overrideDel)
ILandObject GetLandObject(float x, float y)
Get the parcel at the specified point
bool IsLandPrimCountTainted()
Details of a Parcel of land
void ReturnObjectsInParcel(int localID, uint returnType, UUID[] agentIDs, UUID[] taskIDs, IClientAPI remoteClient)
delegate int overrideParcelMaxPrimCountDelegate(ILandObject obj)
bool IsForcefulBansAllowed()
TestLandChannel(Scene scene)
delegate int overrideSimulatorMaxPrimCountDelegate(ILandObject obj)
void Join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
Land channel for test purposes
ILandObject GetLandObject(Vector3 position)
Get the parcel at the specified point
void Clear(bool setupDefaultParcel)
Clear the land channel of all parcels.