C# Class OpenSim.Region.CoreModules.World.Land.LandManagementModule

Inheritance: INonSharedRegionModule
Afficher le fichier Open project: nebadon2025/opensimulator Class Usage Examples

Protected Properties

Свойство Type Description
m_Dialog IDialogModule
m_groupManager IGroupsModule
m_primCountModule IPrimCountModule
m_userManager IUserManagement

Private Properties

Свойство Type Description
AppendParcelReport void
AppendParcelsSummaryReport void
ClientOnParcelDeedToGroup void
ClientOnParcelInfoRequest void
ClientOnSimWideDeletes void
CreateBitmapForID ].bool[
EventManagerOnIncomingLandDataFromStorage void
EventManagerOnNewClient void
EventManagerOnRegisterCaps void
FinalizeLandPrimCountUpdate void
ForceAvatarToPosition void
IncomingLandObjectFromStorage void
OnEndParcelFrozen void
ProcessPropertiesUpdate string
RemoteParcelRequest string
performFinalLandJoin void

Méthodes publiques

Méthode Description
AddLandObject ( ILandObject land ) : ILandObject

Adds a land object to the stored list and adds them to the landIDList to what they own

AddRegion ( Scene scene ) : void
AllParcels ( ) : List
Clear ( bool setupDefaultParcel ) : void

Clear the scene of all parcels

ClientOnParcelAbandonRequest ( int local_id, IClientAPI remote_client ) : 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 entries, IClientAPI remote_client ) : void
ClientOnParcelDivideRequest ( int west, int south, int east, int north, IClientAPI remote_client ) : void
ClientOnParcelEjectUser ( IClientAPI client, UUID parcelowner, uint flags, UUID target ) : void
ClientOnParcelFreezeUser ( IClientAPI client, UUID parcelowner, uint flags, UUID target ) : void
ClientOnParcelGodForceOwner ( int local_id, UUID ownerID, IClientAPI remote_client ) : void
ClientOnParcelGodMark ( IClientAPI client, UUID god, int landID ) : void
ClientOnParcelJoinRequest ( int west, int south, int east, int north, IClientAPI remote_client ) : void
ClientOnParcelObjectOwnerRequest ( int local_id, IClientAPI remote_client ) : void
ClientOnParcelPropertiesRequest ( int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client ) : void
ClientOnParcelPropertiesUpdateRequest ( LandUpdateArgs args, int localID, IClientAPI remote_client ) : void
ClientOnParcelReclaim ( int local_id, IClientAPI remote_client ) : void
ClientOnParcelSelectObjects ( int local_id, int request_type, List returnIDs, IClientAPI remote_client ) : void
ClientOnSetHome ( IClientAPI remoteClient, ulong regionHandle, System.Vector3 position, System.Vector3 lookAt, uint flags ) : void

Sets the Home Point. The LoginService uses this to know where to put a user when they log-in

Close ( ) : void
EnforceBans ( ILandObject land, ScenePresence avatar ) : bool
EventMakeChildAgent ( ScenePresence avatar ) : void
EventManagerOnAvatarEnteringNewParcel ( ScenePresence avatar, int localLandID, UUID regionID ) : void
EventManagerOnClientMovement ( ScenePresence avatar ) : void

Like handleEventManagerOnSignificantClientMovement, but called with an AgentUpdate regardless of distance.

EventManagerOnLandBuy ( Object o, EventManager e ) : void
EventManagerOnNoLandDataFromStorage ( ) : void
EventManagerOnObjectBeingRemovedFromScene ( SceneObjectGroup obj ) : void
EventManagerOnParcelPrimCountAdd ( SceneObjectGroup obj ) : void
EventManagerOnParcelPrimCountUpdate ( ) : void
EventManagerOnRequestParcelPrimCountUpdate ( ) : void
EventManagerOnSetAllowedForcefulBan ( bool forceful ) : void
EventManagerOnSignificantClientMovement ( ScenePresence avatar ) : void
EventManagerOnValidateLandBuy ( Object o, EventManager e ) : void
GetLandObject ( float x_float, float y_float ) : ILandObject

Get the land object at the specified point

GetLandObject ( int parcelLocalID ) : ILandObject
GetLandObject ( int x, int y ) : ILandObject
GetLandObject ( int x, int y, bool returnNullIfLandObjectOutsideBounds ) : ILandObject
GetLandObjectClipedXY ( float x, float y ) : ILandObject
Initialise ( IConfigSource source ) : void
Join ( int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id ) : void

Join 2 land objects together

ParcelsNearPoint ( Vector3 position ) : List
RegionLoaded ( Scene scene ) : void
RemoveRegion ( Scene scene ) : void
ResetOverMeRecords ( ) : void
ResetSimLandObjects ( ) : void

Resets the sim to the default land object (full sim piece of land owned by the default user)

ReturnObject ( SceneObjectGroup obj, IClientAPI client ) : void
ReturnObjectsInParcel ( int localID, uint returnType, UUID agentIDs, UUID taskIDs, IClientAPI remoteClient ) : void
SendLandUpdate ( ScenePresence avatar, ILandObject over ) : void
SendOutNearestBanLine ( IClientAPI client ) : void
SendParcelOverlay ( IClientAPI remote_client ) : void

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.

Subdivide ( int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id ) : void

Subdivides a piece of land

UpdateLandObject ( int local_id, LandData data ) : void
UpdateLandProperties ( ILandObject land, LandUpdateArgs args, IClientAPI remote_client ) : void
removeLandObject ( int local_id ) : void

Removes a land object from the list. Will not remove if local_id is still owning an area in landIDList

sendClientInitialLandInfo ( IClientAPI remoteClient ) : void
setParcelObjectMaxOverride ( overrideParcelMaxPrimCountDelegate overrideDel ) : void
setParcelOtherCleanTime ( IClientAPI remoteClient, int localID, int otherCleanTime ) : void
setSimulatorObjectMaxOverride ( overrideSimulatorMaxPrimCountDelegate overrideDel ) : void

Méthodes protégées

Méthode Description
CreateDefaultParcel ( ) : ILandObject

Create a default parcel that spans the entire region and is owned by the estate owner.

HandleClearCommand ( string module, string args ) : void
HandleShowCommand ( string module, string args ) : void
RegisterCommands ( ) : void

Private Methods

Méthode Description
AppendParcelReport ( System.StringBuilder report, ILandObject lo ) : void
AppendParcelsSummaryReport ( System.StringBuilder report ) : void
ClientOnParcelDeedToGroup ( int parcelLocalID, UUID groupID, IClientAPI remote_client ) : void
ClientOnParcelInfoRequest ( IClientAPI remoteClient, UUID parcelID ) : void
ClientOnSimWideDeletes ( IClientAPI client, UUID agentID, int flags, UUID targetID ) : void
CreateBitmapForID ( int landID ) : ].bool[
EventManagerOnIncomingLandDataFromStorage ( List data ) : void
EventManagerOnNewClient ( IClientAPI client ) : void
EventManagerOnRegisterCaps ( UUID agentID, OpenSim.Framework.Capabilities.Caps caps ) : void
FinalizeLandPrimCountUpdate ( ) : void
ForceAvatarToPosition ( ScenePresence avatar, System.Vector3 position ) : void
IncomingLandObjectFromStorage ( LandData data ) : void
OnEndParcelFrozen ( object avatar ) : void
ProcessPropertiesUpdate ( string request, string path, string param, UUID agentID, OpenSim.Framework.Capabilities.Caps caps ) : string
RemoteParcelRequest ( string request, string path, string param, UUID agentID, OpenSim.Framework.Capabilities.Caps caps ) : string
performFinalLandJoin ( ILandObject master, ILandObject slave ) : void

Method Details

AddLandObject() public méthode

Adds a land object to the stored list and adds them to the landIDList to what they own
public AddLandObject ( ILandObject land ) : ILandObject
land ILandObject
Résultat ILandObject

AddRegion() public méthode

public AddRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
Résultat void

AllParcels() public méthode

public AllParcels ( ) : List
Résultat List

Clear() public méthode

Clear the scene of all parcels
public Clear ( bool setupDefaultParcel ) : void
setupDefaultParcel bool
Résultat void

ClientOnParcelAbandonRequest() public méthode

public ClientOnParcelAbandonRequest ( int local_id, IClientAPI remote_client ) : void
local_id int
remote_client IClientAPI
Résultat void

ClientOnParcelAccessListRequest() public méthode

public ClientOnParcelAccessListRequest ( UUID agentID, UUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client ) : void
agentID UUID
sessionID UUID
flags uint
sequenceID int
landLocalID int
remote_client IClientAPI
Résultat void

ClientOnParcelAccessListUpdateRequest() public méthode

public ClientOnParcelAccessListUpdateRequest ( UUID agentID, uint flags, int landLocalID, UUID transactionID, int sequenceID, int sections, List entries, IClientAPI remote_client ) : void
agentID UUID
flags uint
landLocalID int
transactionID UUID
sequenceID int
sections int
entries List
remote_client IClientAPI
Résultat void

ClientOnParcelDivideRequest() public méthode

public ClientOnParcelDivideRequest ( int west, int south, int east, int north, IClientAPI remote_client ) : void
west int
south int
east int
north int
remote_client IClientAPI
Résultat void

ClientOnParcelEjectUser() public méthode

public ClientOnParcelEjectUser ( IClientAPI client, UUID parcelowner, uint flags, UUID target ) : void
client IClientAPI
parcelowner UUID
flags uint
target UUID
Résultat void

ClientOnParcelFreezeUser() public méthode

public ClientOnParcelFreezeUser ( IClientAPI client, UUID parcelowner, uint flags, UUID target ) : void
client IClientAPI
parcelowner UUID
flags uint
target UUID
Résultat void

ClientOnParcelGodForceOwner() public méthode

public ClientOnParcelGodForceOwner ( int local_id, UUID ownerID, IClientAPI remote_client ) : void
local_id int
ownerID UUID
remote_client IClientAPI
Résultat void

ClientOnParcelGodMark() public méthode

public ClientOnParcelGodMark ( IClientAPI client, UUID god, int landID ) : void
client IClientAPI
god UUID
landID int
Résultat void

ClientOnParcelJoinRequest() public méthode

public ClientOnParcelJoinRequest ( int west, int south, int east, int north, IClientAPI remote_client ) : void
west int
south int
east int
north int
remote_client IClientAPI
Résultat void

ClientOnParcelObjectOwnerRequest() public méthode

public ClientOnParcelObjectOwnerRequest ( int local_id, IClientAPI remote_client ) : void
local_id int
remote_client IClientAPI
Résultat void

ClientOnParcelPropertiesRequest() public méthode

public ClientOnParcelPropertiesRequest ( int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client ) : void
start_x int
start_y int
end_x int
end_y int
sequence_id int
snap_selection bool
remote_client IClientAPI
Résultat void

ClientOnParcelPropertiesUpdateRequest() public méthode

public ClientOnParcelPropertiesUpdateRequest ( LandUpdateArgs args, int localID, IClientAPI remote_client ) : void
args LandUpdateArgs
localID int
remote_client IClientAPI
Résultat void

ClientOnParcelReclaim() public méthode

public ClientOnParcelReclaim ( int local_id, IClientAPI remote_client ) : void
local_id int
remote_client IClientAPI
Résultat void

ClientOnParcelSelectObjects() public méthode

public ClientOnParcelSelectObjects ( int local_id, int request_type, List returnIDs, IClientAPI remote_client ) : void
local_id int
request_type int
returnIDs List
remote_client IClientAPI
Résultat void

ClientOnSetHome() public méthode

Sets the Home Point. The LoginService uses this to know where to put a user when they log-in
public ClientOnSetHome ( IClientAPI remoteClient, ulong regionHandle, System.Vector3 position, System.Vector3 lookAt, uint flags ) : void
remoteClient IClientAPI
regionHandle ulong
position System.Vector3
lookAt System.Vector3
flags uint
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

CreateDefaultParcel() protected méthode

Create a default parcel that spans the entire region and is owned by the estate owner.
protected CreateDefaultParcel ( ) : ILandObject
Résultat ILandObject

EnforceBans() public méthode

public EnforceBans ( ILandObject land, ScenePresence avatar ) : bool
land ILandObject
avatar OpenSim.Region.Framework.Scenes.ScenePresence
Résultat bool

EventMakeChildAgent() public méthode

public EventMakeChildAgent ( ScenePresence avatar ) : void
avatar OpenSim.Region.Framework.Scenes.ScenePresence
Résultat void

EventManagerOnAvatarEnteringNewParcel() public méthode

public EventManagerOnAvatarEnteringNewParcel ( ScenePresence avatar, int localLandID, UUID regionID ) : void
avatar OpenSim.Region.Framework.Scenes.ScenePresence
localLandID int
regionID UUID
Résultat void

EventManagerOnClientMovement() public méthode

Like handleEventManagerOnSignificantClientMovement, but called with an AgentUpdate regardless of distance.
public EventManagerOnClientMovement ( ScenePresence avatar ) : void
avatar OpenSim.Region.Framework.Scenes.ScenePresence
Résultat void

EventManagerOnLandBuy() public méthode

public EventManagerOnLandBuy ( Object o, EventManager e ) : void
o Object
e EventManager
Résultat void

EventManagerOnNoLandDataFromStorage() public méthode

public EventManagerOnNoLandDataFromStorage ( ) : void
Résultat void

EventManagerOnObjectBeingRemovedFromScene() public méthode

public EventManagerOnObjectBeingRemovedFromScene ( SceneObjectGroup obj ) : void
obj OpenSim.Region.Framework.Scenes.SceneObjectGroup
Résultat void

EventManagerOnParcelPrimCountAdd() public méthode

public EventManagerOnParcelPrimCountAdd ( SceneObjectGroup obj ) : void
obj OpenSim.Region.Framework.Scenes.SceneObjectGroup
Résultat void

EventManagerOnParcelPrimCountUpdate() public méthode

public EventManagerOnParcelPrimCountUpdate ( ) : void
Résultat void

EventManagerOnRequestParcelPrimCountUpdate() public méthode

public EventManagerOnRequestParcelPrimCountUpdate ( ) : void
Résultat void

EventManagerOnSetAllowedForcefulBan() public méthode

public EventManagerOnSetAllowedForcefulBan ( bool forceful ) : void
forceful bool
Résultat void

EventManagerOnSignificantClientMovement() public méthode

public EventManagerOnSignificantClientMovement ( ScenePresence avatar ) : void
avatar OpenSim.Region.Framework.Scenes.ScenePresence
Résultat void

EventManagerOnValidateLandBuy() public méthode

public EventManagerOnValidateLandBuy ( Object o, EventManager e ) : void
o Object
e EventManager
Résultat void

GetLandObject() public méthode

Get the land object at the specified point
public GetLandObject ( float x_float, float y_float ) : ILandObject
x_float float Value between 0 - 256 on the x axis of the point
y_float float Value between 0 - 256 on the y axis of the point
Résultat ILandObject

GetLandObject() public méthode

public GetLandObject ( int parcelLocalID ) : ILandObject
parcelLocalID int
Résultat ILandObject

GetLandObject() public méthode

public GetLandObject ( int x, int y ) : ILandObject
x int
y int
Résultat ILandObject

GetLandObject() public méthode

public GetLandObject ( int x, int y, bool returnNullIfLandObjectOutsideBounds ) : ILandObject
x int
y int
returnNullIfLandObjectOutsideBounds bool
Résultat ILandObject

GetLandObjectClipedXY() public méthode

public GetLandObjectClipedXY ( float x, float y ) : ILandObject
x float
y float
Résultat ILandObject

HandleClearCommand() protected méthode

protected HandleClearCommand ( string module, string args ) : void
module string
args string
Résultat void

HandleShowCommand() protected méthode

protected HandleShowCommand ( string module, string args ) : void
module string
args string
Résultat void

Initialise() public méthode

public Initialise ( IConfigSource source ) : void
source IConfigSource
Résultat void

Join() public méthode

Join 2 land objects together
public Join ( int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id ) : void
start_x int start x of selection area
start_y int start y of selection area
end_x int end x of selection area
end_y int end y of selection area
attempting_user_id UUID UUID of the avatar trying to join the land objects
Résultat void

ParcelsNearPoint() public méthode

public ParcelsNearPoint ( Vector3 position ) : List
position Vector3
Résultat List

RegionLoaded() public méthode

public RegionLoaded ( Scene scene ) : void
scene Scene
Résultat void

RegisterCommands() protected méthode

protected RegisterCommands ( ) : void
Résultat void

RemoveRegion() public méthode

public RemoveRegion ( Scene scene ) : void
scene Scene
Résultat void

ResetOverMeRecords() public méthode

public ResetOverMeRecords ( ) : void
Résultat void

ResetSimLandObjects() public méthode

Resets the sim to the default land object (full sim piece of land owned by the default user)
public ResetSimLandObjects ( ) : void
Résultat void

ReturnObject() public méthode

public ReturnObject ( SceneObjectGroup obj, IClientAPI client ) : void
obj SceneObjectGroup
client IClientAPI
Résultat void

ReturnObjectsInParcel() public méthode

public ReturnObjectsInParcel ( int localID, uint returnType, UUID agentIDs, UUID taskIDs, IClientAPI remoteClient ) : void
localID int
returnType uint
agentIDs UUID
taskIDs UUID
remoteClient IClientAPI
Résultat void

SendLandUpdate() public méthode

public SendLandUpdate ( ScenePresence avatar, ILandObject over ) : void
avatar ScenePresence
over ILandObject
Résultat void

SendOutNearestBanLine() public méthode

public SendOutNearestBanLine ( IClientAPI client ) : void
client IClientAPI
Résultat void

SendParcelOverlay() public méthode

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.
public SendParcelOverlay ( IClientAPI remote_client ) : void
remote_client IClientAPI The object representing the client
Résultat void

Subdivide() public méthode

Subdivides a piece of land
public Subdivide ( int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id ) : void
start_x int West Point
start_y int South Point
end_x int East Point
end_y int North Point
attempting_user_id UUID UUID of user who is trying to subdivide
Résultat void

UpdateLandObject() public méthode

public UpdateLandObject ( int local_id, LandData data ) : void
local_id int
data LandData
Résultat void

UpdateLandProperties() public méthode

public UpdateLandProperties ( ILandObject land, LandUpdateArgs args, IClientAPI remote_client ) : void
land ILandObject
args LandUpdateArgs
remote_client IClientAPI
Résultat void

removeLandObject() public méthode

Removes a land object from the list. Will not remove if local_id is still owning an area in landIDList
public removeLandObject ( int local_id ) : void
local_id int Land.localID of the peice of land to remove.
Résultat void

sendClientInitialLandInfo() public méthode

public sendClientInitialLandInfo ( IClientAPI remoteClient ) : void
remoteClient IClientAPI
Résultat void

setParcelObjectMaxOverride() public méthode

public setParcelObjectMaxOverride ( overrideParcelMaxPrimCountDelegate overrideDel ) : void
overrideDel overrideParcelMaxPrimCountDelegate
Résultat void

setParcelOtherCleanTime() public méthode

public setParcelOtherCleanTime ( IClientAPI remoteClient, int localID, int otherCleanTime ) : void
remoteClient IClientAPI
localID int
otherCleanTime int
Résultat void

setSimulatorObjectMaxOverride() public méthode

public setSimulatorObjectMaxOverride ( overrideSimulatorMaxPrimCountDelegate overrideDel ) : void
overrideDel overrideSimulatorMaxPrimCountDelegate
Résultat void

Property Details

m_Dialog protected_oe property

protected IDialogModule m_Dialog
Résultat IDialogModule

m_groupManager protected_oe property

protected IGroupsModule m_groupManager
Résultat IGroupsModule

m_primCountModule protected_oe property

protected IPrimCountModule m_primCountModule
Résultat IPrimCountModule

m_userManager protected_oe property

protected IUserManagement m_userManager
Résultat IUserManagement