OpenSim
|
Public Member Functions | |
void | Initialise (IConfigSource source) |
This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created. More... | |
void | AddRegion (Scene scene) |
This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called. More... | |
void | RegionLoaded (Scene scene) |
This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module. More... | |
void | RemoveRegion (Scene scene) |
This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed. More... | |
void | EventMakeChildAgent (ScenePresence avatar) |
void | Close () |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More... | |
void | EventManagerOnSetAllowedForcefulBan (bool forceful) |
void | UpdateLandObject (int local_id, LandData data) |
void | ResetSimLandObjects () |
Resets the sim to the default land object (full sim piece of land owned by the default user) More... | |
List< ILandObject > | AllParcels () |
List< ILandObject > | ParcelsNearPoint (Vector3 position) |
bool | EnforceBans (ILandObject land, ScenePresence avatar) |
void | EventManagerOnAvatarEnteringNewParcel (ScenePresence avatar, int localLandID, UUID regionID) |
void | SendOutNearestBanLine (IClientAPI client) |
void | sendClientInitialLandInfo (IClientAPI remoteClient) |
void | SendLandUpdate (ScenePresence avatar, ILandObject over) |
void | EventManagerOnSignificantClientMovement (ScenePresence avatar) |
void | EventManagerOnClientMovement (ScenePresence avatar) |
Like handleEventManagerOnSignificantClientMovement, but called with an AgentUpdate regardless of distance. More... | |
void | ClientOnParcelAccessListRequest (UUID agentID, UUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client) |
void | ClientOnParcelAccessListUpdateRequest (UUID agentID, uint flags, int landLocalID, UUID transactionID, int sequenceID, int sections, List< LandAccessEntry > entries, IClientAPI remote_client) |
ILandObject | AddLandObject (ILandObject land) |
Adds a land object to the stored list and adds them to the landIDList to what they own More... | |
void | removeLandObject (int local_id) |
Removes a land object from the list. Will not remove if local_id is still owning an area in landIDList More... | |
void | Clear (bool setupDefaultParcel) |
Clear the scene of all parcels More... | |
ILandObject | GetLandObject (int parcelLocalID) |
ILandObject | GetLandObject (float x_float, float y_float) |
Get the land object at the specified point More... | |
ILandObject | GetLandObjectClipedXY (float x, float y) |
ILandObject | GetLandObject (int x, int y) |
ILandObject | GetLandObject (int x, int y, bool returnNullIfLandObjectOutsideBounds) |
void | ResetOverMeRecords () |
void | EventManagerOnParcelPrimCountAdd (SceneObjectGroup obj) |
void | EventManagerOnObjectBeingRemovedFromScene (SceneObjectGroup obj) |
void | FinalizeLandPrimCountUpdate () |
void | EventManagerOnParcelPrimCountUpdate () |
void | EventManagerOnRequestParcelPrimCountUpdate () |
void | Subdivide (int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id) |
Subdivides a piece of land More... | |
void | Join (int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id) |
Join 2 land objects together More... | |
void | SendParcelOverlay (IClientAPI remote_client) |
Send the parcel overlay blocks to the client. We send the overlay packets around a location and limited by the 'parcelLayerViewDistance'. This number is usually 128 and the code is arranged so it sends all the parcel overlay information for a whole region if the region is legacy sized (256x256). If the region is larger, only the parcel layer information is sent around the point specified. This reduces the problem of parcel layer information blocks increasing exponentially as region size increases. More... | |
void | ClientOnParcelPropertiesRequest (int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client) |
void | UpdateLandProperties (ILandObject land, LandUpdateArgs args, IClientAPI remote_client) |
void | ClientOnParcelPropertiesUpdateRequest (LandUpdateArgs args, int localID, IClientAPI remote_client) |
void | ClientOnParcelDivideRequest (int west, int south, int east, int north, IClientAPI remote_client) |
void | ClientOnParcelJoinRequest (int west, int south, int east, int north, IClientAPI remote_client) |
void | ClientOnParcelSelectObjects (int local_id, int request_type, List< UUID > returnIDs, IClientAPI remote_client) |
void | ClientOnParcelObjectOwnerRequest (int local_id, IClientAPI remote_client) |
void | ClientOnParcelGodForceOwner (int local_id, UUID ownerID, IClientAPI remote_client) |
void | ClientOnParcelAbandonRequest (int local_id, IClientAPI remote_client) |
void | ClientOnParcelReclaim (int local_id, IClientAPI remote_client) |
void | EventManagerOnLandBuy (Object o, EventManager.LandBuyArgs e) |
void | EventManagerOnValidateLandBuy (Object o, EventManager.LandBuyArgs e) |
void | ReturnObjectsInParcel (int localID, uint returnType, UUID[] agentIDs, UUID[] taskIDs, IClientAPI remoteClient) |
void | EventManagerOnNoLandDataFromStorage () |
void | setParcelObjectMaxOverride (overrideParcelMaxPrimCountDelegate overrideDel) |
void | setSimulatorObjectMaxOverride (overrideSimulatorMaxPrimCountDelegate overrideDel) |
void | setParcelOtherCleanTime (IClientAPI remoteClient, int localID, int otherCleanTime) |
void | ClientOnParcelGodMark (IClientAPI client, UUID god, int landID) |
void | ReturnObject (SceneObjectGroup obj, IClientAPI client) |
void | ClientOnParcelFreezeUser (IClientAPI client, UUID parcelowner, uint flags, UUID target) |
void | ClientOnParcelEjectUser (IClientAPI client, UUID parcelowner, uint flags, UUID target) |
virtual void | ClientOnSetHome (IClientAPI remoteClient, ulong regionHandle, Vector3 position, Vector3 lookAt, uint flags) |
Sets the Home Point. The LoginService uses this to know where to put a user when they log-in More... | |
Public Attributes | |
const int | LandUnit = 4 |
Minimum land unit size in region co-ordinates. More... | |
Protected Member Functions | |
ILandObject | CreateDefaultParcel () |
Create a default parcel that spans the entire region and is owned by the estate owner. More... | |
void | RegisterCommands () |
void | HandleClearCommand (string module, string[] args) |
void | HandleShowCommand (string module, string[] args) |
Protected Attributes | |
IGroupsModule | m_groupManager |
IUserManagement | m_userManager |
IPrimCountModule | m_primCountModule |
IDialogModule | m_Dialog |
Properties | |
Type | ReplaceableInterface [get] |
string | Name [get] |
bool | AllowedForcefulBans [get, set] |
Properties inherited from OpenSim.Region.Framework.Interfaces.IRegionModuleBase | |
string | Name [get] |
Type | ReplaceableInterface [get] |
If this returns non-null, it is the type of an interface that this module intends to register. This will cause the loader to defer loading of this module until all other modules have been loaded. If no other module has registered the interface by then, this module will be activated, else it will remain inactive, letting the other module take over. This should return non-null ONLY in modules that are intended to be easily replaceable, e.g. stub implementations that the developer expects to be replaced by third party provided modules. More... | |
Definition at line 64 of file LandManagementModule.cs.
|
inline |
Adds a land object to the stored list and adds them to the landIDList to what they own
new_land | The land object being added. Will return null if this overlaps with an existing parcel that has not had its bitmap adjusted. |
Definition at line 595 of file LandManagementModule.cs.
|
inline |
This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 143 of file LandManagementModule.cs.
|
inline |
Definition at line 303 of file LandManagementModule.cs.
|
inline |
Clear the scene of all parcels
Definition at line 705 of file LandManagementModule.cs.
|
inline |
Definition at line 1398 of file LandManagementModule.cs.
|
inline |
Definition at line 536 of file LandManagementModule.cs.
|
inline |
Definition at line 551 of file LandManagementModule.cs.
|
inline |
Definition at line 1340 of file LandManagementModule.cs.
|
inline |
Definition at line 2063 of file LandManagementModule.cs.
|
inline |
Definition at line 2020 of file LandManagementModule.cs.
|
inline |
Definition at line 1375 of file LandManagementModule.cs.
|
inline |
Definition at line 1941 of file LandManagementModule.cs.
|
inline |
Definition at line 1345 of file LandManagementModule.cs.
|
inline |
Definition at line 1356 of file LandManagementModule.cs.
|
inline |
|
inline |
Definition at line 1325 of file LandManagementModule.cs.
|
inline |
Definition at line 1422 of file LandManagementModule.cs.
|
inline |
Definition at line 1350 of file LandManagementModule.cs.
|
inlinevirtual |
Sets the Home Point. The LoginService uses this to know where to put a user when they log-in
remoteClient | |
regionHandle | |
position | |
lookAt | |
flags |
Definition at line 2108 of file LandManagementModule.cs.
|
inline |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore.
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 230 of file LandManagementModule.cs.
|
inlineprotected |
Create a default parcel that spans the entire region and is owned by the estate owner.
Definition at line 289 of file LandManagementModule.cs.
|
inline |
|
inline |
Definition at line 221 of file LandManagementModule.cs.
|
inline |
Definition at line 427 of file LandManagementModule.cs.
|
inline |
Like handleEventManagerOnSignificantClientMovement, but called with an AgentUpdate regardless of distance.
avatar |
Definition at line 515 of file LandManagementModule.cs.
|
inline |
Definition at line 1453 of file LandManagementModule.cs.
|
inline |
Definition at line 1662 of file LandManagementModule.cs.
|
inline |
Definition at line 877 of file LandManagementModule.cs.
|
inline |
Definition at line 867 of file LandManagementModule.cs.
|
inline |
Definition at line 927 of file LandManagementModule.cs.
|
inline |
Definition at line 948 of file LandManagementModule.cs.
|
inline |
Definition at line 243 of file LandManagementModule.cs.
|
inline |
Definition at line 502 of file LandManagementModule.cs.
|
inline |
Definition at line 1474 of file LandManagementModule.cs.
|
inline |
Definition at line 888 of file LandManagementModule.cs.
|
inline |
Definition at line 752 of file LandManagementModule.cs.
|
inline |
Get the land object at the specified point
x_float | Value between 0 - 256 on the x axis of the point |
y_float | Value between 0 - 256 on the y axis of the point |
Definition at line 770 of file LandManagementModule.cs.
|
inline |
Definition at line 807 of file LandManagementModule.cs.
|
inline |
Definition at line 812 of file LandManagementModule.cs.
|
inline |
Definition at line 777 of file LandManagementModule.cs.
|
inlineprotected |
Definition at line 2183 of file LandManagementModule.cs.
|
inlineprotected |
|
inline |
This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created.
source | A IConfigSource |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 126 of file LandManagementModule.cs.
|
inline |
Join 2 land objects together
start_x | start x of selection area |
start_y | start y of selection area |
end_x | end x of selection area |
end_y | end y of selection area |
attempting_user_id | UUID of the avatar trying to join the land objects |
Definition at line 1057 of file LandManagementModule.cs.
|
inline |
Definition at line 311 of file LandManagementModule.cs.
|
inline |
This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 179 of file LandManagementModule.cs.
|
inlineprotected |
Definition at line 2163 of file LandManagementModule.cs.
|
inline |
Removes a land object from the list. Will not remove if local_id is still owning an area in landIDList
local_id | Land.localID of the peice of land to remove. |
Definition at line 676 of file LandManagementModule.cs.
|
inline |
This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 187 of file LandManagementModule.cs.
|
inline |
Definition at line 856 of file LandManagementModule.cs.
|
inline |
Resets the sim to the default land object (full sim piece of land owned by the default user)
Definition at line 273 of file LandManagementModule.cs.
|
inline |
Definition at line 2011 of file LandManagementModule.cs.
|
inline |
Definition at line 1598 of file LandManagementModule.cs.
|
inline |
Definition at line 470 of file LandManagementModule.cs.
|
inline |
Definition at line 489 of file LandManagementModule.cs.
|
inline |
|
inline |
Send the parcel overlay blocks to the client. We send the overlay packets around a location and limited by the 'parcelLayerViewDistance'. This number is usually 128 and the code is arranged so it sends all the parcel overlay information for a whole region if the region is legacy sized (256x256). If the region is larger, only the parcel layer information is sent around the point specified. This reduces the problem of parcel layer information blocks increasing exponentially as region size increases.
remote_client | The object representing the client |
xPlace | X position in the region to send surrounding parcel layer info |
yPlace | y position in the region to send surrounding parcel layer info |
layerViewDistance | Distance from x,y position to send parcel layer info |
Definition at line 1135 of file LandManagementModule.cs.
|
inline |
Definition at line 1670 of file LandManagementModule.cs.
|
inline |
Definition at line 1923 of file LandManagementModule.cs.
|
inline |
Definition at line 1681 of file LandManagementModule.cs.
|
inline |
Subdivides a piece of land
start_x | West Point |
start_y | South Point |
end_x | East Point |
end_y | North Point |
attempting_user_id | UUID of user who is trying to subdivide |
Definition at line 964 of file LandManagementModule.cs.
|
inline |
Definition at line 248 of file LandManagementModule.cs.
|
inline |
const int OpenSim.Region.CoreModules.World.Land.LandManagementModule.LandUnit = 4 |
Minimum land unit size in region co-ordinates.
Definition at line 73 of file LandManagementModule.cs.
|
protected |
Definition at line 83 of file LandManagementModule.cs.
|
protected |
Definition at line 80 of file LandManagementModule.cs.
|
protected |
Definition at line 82 of file LandManagementModule.cs.
|
protected |
Definition at line 81 of file LandManagementModule.cs.
|
getset |
Definition at line 265 of file LandManagementModule.cs.
|
get |
Definition at line 235 of file LandManagementModule.cs.
|
get |
Definition at line 122 of file LandManagementModule.cs.