OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
OpenSim.Region.CoreModules.World.Land.LandChannel Class Reference
Inheritance diagram for OpenSim.Region.CoreModules.World.Land.LandChannel:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Region.CoreModules.World.Land.LandChannel:
Collaboration graph
[legend]

Public Member Functions

 LandChannel (Scene scene, LandManagementModule landManagementMod)
 
ILandObject GetLandObject (float x_float, float y_float)
 Get the parcel at the specified point More...
 
ILandObject GetLandObject (int localID)
 Get the parcel given the land's local id. More...
 
ILandObject GetLandObject (Vector3 position)
 Get the parcel at the specified point More...
 
ILandObject GetLandObject (int x, int y)
 Get the parcel at the specified point More...
 
List< ILandObjectAllParcels ()
 Get all parcels More...
 
void Clear (bool setupDefaultParcel)
 Clear the land channel of all parcels. More...
 
List< ILandObjectParcelsNearPoint (Vector3 position)
 Get the parcels near the specified point More...
 
bool IsForcefulBansAllowed ()
 
void UpdateLandObject (int localID, LandData data)
 
void Join (int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
 
void Subdivide (int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
 
void ReturnObjectsInParcel (int localID, uint returnType, UUID[] agentIDs, UUID[] taskIDs, IClientAPI remoteClient)
 
void setParcelObjectMaxOverride (overrideParcelMaxPrimCountDelegate overrideDel)
 
void setSimulatorObjectMaxOverride (overrideSimulatorMaxPrimCountDelegate overrideDel)
 
void SetParcelOtherCleanTime (IClientAPI remoteClient, int localID, int otherCleanTime)
 
void sendClientInitialLandInfo (IClientAPI remoteClient)
 

Public Attributes

const float BAN_LINE_SAFETY_HEIGHT = 100
 
const int LAND_RESULT_MULTIPLE = 1
 
const int LAND_RESULT_SINGLE = 0
 
const int LAND_SELECT_OBJECTS_OWNER = 2
 
const int LAND_SELECT_OBJECTS_GROUP = 4
 
const int LAND_SELECT_OBJECTS_OTHER = 8
 
const byte LAND_TYPE_PUBLIC = 0
 
const byte LAND_TYPE_OWNED_BY_OTHER = 1
 
const byte LAND_TYPE_OWNED_BY_GROUP = 2
 
const byte LAND_TYPE_OWNED_BY_REQUESTER = 3
 
const byte LAND_TYPE_IS_FOR_SALE = 4
 
const byte LAND_TYPE_IS_BEING_AUCTIONED = 5
 
const byte LAND_TYPE_unused6 = 6
 
const byte LAND_TYPE_unused7 = 7
 
const byte LAND_FLAG_unused8 = 0x08
 
const byte LAND_FLAG_HIDEAVATARS = 0x10
 
const byte LAND_FLAG_LOCALSOUND = 0x20
 
const byte LAND_FLAG_PROPERTY_BORDER_WEST = 0x40
 
const byte LAND_FLAG_PROPERTY_BORDER_SOUTH = 0x80
 
const int START_LAND_LOCAL_ID = 1
 

Detailed Description

Definition at line 36 of file LandChannel.cs.

Constructor & Destructor Documentation

OpenSim.Region.CoreModules.World.Land.LandChannel.LandChannel ( Scene  scene,
LandManagementModule  landManagementMod 
)
inline

Definition at line 80 of file LandChannel.cs.

Member Function Documentation

List<ILandObject> OpenSim.Region.CoreModules.World.Land.LandChannel.AllParcels ( )
inline

Get all parcels

Returns

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 126 of file LandChannel.cs.

void OpenSim.Region.CoreModules.World.Land.LandChannel.Clear ( bool  setupDefaultParcel)
inline

Clear the land channel of all parcels.

Parameters
setupDefaultParcelIf true, set up a default parcel covering the whole region owned by the estate owner.

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 136 of file LandChannel.cs.

ILandObject OpenSim.Region.CoreModules.World.Land.LandChannel.GetLandObject ( float  x,
float  y 
)
inline

Get the parcel at the specified point

Parameters
xValue between 0 - 256 on the x axis of the point
yValue between 0 - 256 on the y axis of the point
Returns
Land object at the point supplied

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 88 of file LandChannel.cs.

ILandObject OpenSim.Region.CoreModules.World.Land.LandChannel.GetLandObject ( int  localID)
inline

Get the parcel given the land's local id.

Parameters
localID
Returns

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 100 of file LandChannel.cs.

ILandObject OpenSim.Region.CoreModules.World.Land.LandChannel.GetLandObject ( Vector3  position)
inline

Get the parcel at the specified point

Parameters
positionVector where x and y components are between 0 and 256. z component is ignored.
Returns
Land object at the point supplied

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 109 of file LandChannel.cs.

ILandObject OpenSim.Region.CoreModules.World.Land.LandChannel.GetLandObject ( int  x,
int  y 
)
inline

Get the parcel at the specified point

Parameters
xValue between 0 - 256 on the x axis of the point
yValue between 0 - 256 on the y axis of the point
Returns
Land object at the point supplied

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 114 of file LandChannel.cs.

bool OpenSim.Region.CoreModules.World.Land.LandChannel.IsForcefulBansAllowed ( )
inline

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 152 of file LandChannel.cs.

void OpenSim.Region.CoreModules.World.Land.LandChannel.Join ( int  start_x,
int  start_y,
int  end_x,
int  end_y,
UUID  attempting_user_id 
)
inline

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 170 of file LandChannel.cs.

List<ILandObject> OpenSim.Region.CoreModules.World.Land.LandChannel.ParcelsNearPoint ( Vector3  position)
inline

Get the parcels near the specified point

Parameters
position
Returns

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 142 of file LandChannel.cs.

void OpenSim.Region.CoreModules.World.Land.LandChannel.ReturnObjectsInParcel ( int  localID,
uint  returnType,
UUID[]  agentIDs,
UUID[]  taskIDs,
IClientAPI  remoteClient 
)
inline

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 186 of file LandChannel.cs.

void OpenSim.Region.CoreModules.World.Land.LandChannel.sendClientInitialLandInfo ( IClientAPI  remoteClient)
inline

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 217 of file LandChannel.cs.

void OpenSim.Region.CoreModules.World.Land.LandChannel.setParcelObjectMaxOverride ( overrideParcelMaxPrimCountDelegate  overrideDel)
inline

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 194 of file LandChannel.cs.

void OpenSim.Region.CoreModules.World.Land.LandChannel.SetParcelOtherCleanTime ( IClientAPI  remoteClient,
int  localID,
int  otherCleanTime 
)
inline

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 210 of file LandChannel.cs.

void OpenSim.Region.CoreModules.World.Land.LandChannel.setSimulatorObjectMaxOverride ( overrideSimulatorMaxPrimCountDelegate  overrideDel)
inline

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 202 of file LandChannel.cs.

void OpenSim.Region.CoreModules.World.Land.LandChannel.Subdivide ( int  start_x,
int  start_y,
int  end_x,
int  end_y,
UUID  attempting_user_id 
)
inline

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 178 of file LandChannel.cs.

void OpenSim.Region.CoreModules.World.Land.LandChannel.UpdateLandObject ( int  localID,
LandData  data 
)
inline

Implements OpenSim.Region.Framework.Interfaces.ILandChannel.

Definition at line 162 of file LandChannel.cs.

Member Data Documentation

const float OpenSim.Region.CoreModules.World.Land.LandChannel.BAN_LINE_SAFETY_HEIGHT = 100

Definition at line 40 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_FLAG_HIDEAVATARS = 0x10

Definition at line 66 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_FLAG_LOCALSOUND = 0x20

Definition at line 67 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_FLAG_PROPERTY_BORDER_SOUTH = 0x80

Definition at line 69 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_FLAG_PROPERTY_BORDER_WEST = 0x40

Definition at line 68 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_FLAG_unused8 = 0x08

Definition at line 65 of file LandChannel.cs.

const int OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_RESULT_MULTIPLE = 1

Definition at line 46 of file LandChannel.cs.

const int OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_RESULT_SINGLE = 0

Definition at line 47 of file LandChannel.cs.

const int OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_SELECT_OBJECTS_GROUP = 4

Definition at line 51 of file LandChannel.cs.

const int OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_SELECT_OBJECTS_OTHER = 8

Definition at line 52 of file LandChannel.cs.

const int OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_SELECT_OBJECTS_OWNER = 2

Definition at line 50 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_TYPE_IS_BEING_AUCTIONED = 5

Definition at line 61 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_TYPE_IS_FOR_SALE = 4

Definition at line 60 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_TYPE_OWNED_BY_GROUP = 2

Definition at line 58 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_TYPE_OWNED_BY_OTHER = 1

Definition at line 57 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_TYPE_OWNED_BY_REQUESTER = 3

Definition at line 59 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_TYPE_PUBLIC = 0

Definition at line 55 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_TYPE_unused6 = 6

Definition at line 62 of file LandChannel.cs.

const byte OpenSim.Region.CoreModules.World.Land.LandChannel.LAND_TYPE_unused7 = 7

Definition at line 63 of file LandChannel.cs.

const int OpenSim.Region.CoreModules.World.Land.LandChannel.START_LAND_LOCAL_ID = 1

Definition at line 73 of file LandChannel.cs.


The documentation for this class was generated from the following file: