mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
Implements three new OSSL functions for parcel management: osParcelJoin joins parcels in an area, osParcelSubdivide splits parcels in an area, osParcelSetDetails sets parcel name, description, owner and group owner. Join and Subdivide methods in LandChannel are exposed.
This commit is contained in:
@@ -154,6 +154,22 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
m_landManagementModule.UpdateLandObject(localID, data);
|
||||
}
|
||||
}
|
||||
|
||||
public void Join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
|
||||
{
|
||||
if (m_landManagementModule != null)
|
||||
{
|
||||
m_landManagementModule.Join(start_x, start_y, end_x, end_y, attempting_user_id);
|
||||
}
|
||||
}
|
||||
|
||||
public void Subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
|
||||
{
|
||||
if (m_landManagementModule != null)
|
||||
{
|
||||
m_landManagementModule.Subdivide(start_x, start_y, end_x, end_y, attempting_user_id);
|
||||
}
|
||||
}
|
||||
|
||||
public void ReturnObjectsInParcel(int localID, uint returnType, UUID[] agentIDs, UUID[] taskIDs, IClientAPI remoteClient)
|
||||
{
|
||||
|
||||
@@ -948,6 +948,16 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
masterLandObject.SendLandUpdateToAvatarsOverMe();
|
||||
}
|
||||
|
||||
public void Join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
|
||||
{
|
||||
join(start_x, start_y, end_x, end_y, attempting_user_id);
|
||||
}
|
||||
|
||||
public void Subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
|
||||
{
|
||||
subdivide(start_x, start_y, end_x, end_y, attempting_user_id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Parcel Updating
|
||||
|
||||
Reference in New Issue
Block a user