C# Class Universe.Modules.Land.LandObject

Keeps track of a specific piece of land's information
Inheritance: ILandObject
Mostrar archivo Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Property Type Description
m_landData Universe.Framework.SceneInfo.LandData
m_parcelManagementModule IParcelManagementModule
m_scene IScene

Public Methods

Method Description
ContainsPoint ( int x, int y ) : bool

Checks to see if this land object contains a point

Copy ( ) : ILandObject
CreateAccessListArrayByFlag ( AccessList flag ) : List>
DeedToGroup ( UUID groupID ) : void
DisableLandObjects ( uint type, UUID owners, UUID tasks, IClientAPI remote_client ) : void
ForceUpdateLandInfo ( ) : void

Update all settings in land such as area, bitmap byte array, etc

GetPrimsOverByOwner ( UUID targetID, int flags ) : List
IsBannedFromLand ( UUID avatar ) : bool
IsEitherBannedOrRestricted ( UUID avatar ) : bool
IsRestrictedFromLand ( UUID avatar ) : bool
LandObject ( UUID owner_id, bool is_group_owned, IScene scene ) : System
ReturnLandObjects ( uint type, UUID owners, UUID tasks, IClientAPI remote_client ) : void
SendAccessList ( UUID agentID, UUID sessionID, uint flags, int sequenceID, IClientAPI remote_client ) : void
SendForceObjectSelect ( int local_id, int request_type, List returnIDs, IClientAPI remote_client ) : void
SendLandObjectOwners ( IClientAPI remote_client ) : void

Notify the parcel owner each avatar that owns prims situated on their land. This notification includes aggregate details such as the number of prims.

SendLandProperties ( int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client ) : void
SendLandUpdateToAvatarsOverMe ( ) : void
SendLandUpdateToAvatarsOverMe ( bool snap_selection ) : void
SendLandUpdateToClient ( IClientAPI remote_client ) : void
SendLandUpdateToClient ( bool snap_selection, IClientAPI remote_client ) : void
SetMediaUrl ( string url ) : void

Set the media url for this land parcel

SetMusicUrl ( string url ) : void

Set the music url for this land parcel

UpdateAccessList ( uint flags, List entries, IClientAPI remote_client ) : void
UpdateLandProperties ( LandUpdateArgs args, IClientAPI remote_client ) : void
UpdateLandSold ( UUID avatarID, UUID groupID, bool groupOwned, uint AuctionID, int claimprice, int area ) : void

Protected Methods

Method Description
UpdateAABBAndAreaValues ( ) : void

Updates the AABBMin and AABBMax values after area/shape modification of the land object

findPointInParcel ( ILandObject land, uint &refX, uint &refY ) : void

Method Details

ContainsPoint() public method

Checks to see if this land object contains a point
public ContainsPoint ( int x, int y ) : bool
x int
y int
return bool

Copy() public method

public Copy ( ) : ILandObject
return ILandObject

CreateAccessListArrayByFlag() public method

public CreateAccessListArrayByFlag ( AccessList flag ) : List>
flag AccessList
return List>

DeedToGroup() public method

public DeedToGroup ( UUID groupID ) : void
groupID UUID
return void

DisableLandObjects() public method

public DisableLandObjects ( uint type, UUID owners, UUID tasks, IClientAPI remote_client ) : void
type uint
owners UUID
tasks UUID
remote_client IClientAPI
return void

ForceUpdateLandInfo() public method

Update all settings in land such as area, bitmap byte array, etc
public ForceUpdateLandInfo ( ) : void
return void

GetPrimsOverByOwner() public method

public GetPrimsOverByOwner ( UUID targetID, int flags ) : List
targetID UUID
flags int
return List

IsBannedFromLand() public method

public IsBannedFromLand ( UUID avatar ) : bool
avatar UUID
return bool

IsEitherBannedOrRestricted() public method

public IsEitherBannedOrRestricted ( UUID avatar ) : bool
avatar UUID
return bool

IsRestrictedFromLand() public method

public IsRestrictedFromLand ( UUID avatar ) : bool
avatar UUID
return bool

LandObject() public method

public LandObject ( UUID owner_id, bool is_group_owned, IScene scene ) : System
owner_id UUID
is_group_owned bool
scene IScene
return System

ReturnLandObjects() public method

public ReturnLandObjects ( uint type, UUID owners, UUID tasks, IClientAPI remote_client ) : void
type uint
owners UUID
tasks UUID
remote_client IClientAPI
return void

SendAccessList() public method

public SendAccessList ( UUID agentID, UUID sessionID, uint flags, int sequenceID, IClientAPI remote_client ) : void
agentID UUID
sessionID UUID
flags uint
sequenceID int
remote_client IClientAPI
return void

SendForceObjectSelect() public method

public SendForceObjectSelect ( int local_id, int request_type, List returnIDs, IClientAPI remote_client ) : void
local_id int
request_type int
returnIDs List
remote_client IClientAPI
return void

SendLandObjectOwners() public method

Notify the parcel owner each avatar that owns prims situated on their land. This notification includes aggregate details such as the number of prims.
public SendLandObjectOwners ( IClientAPI remote_client ) : void
remote_client IClientAPI /// ///
return void

SendLandProperties() public method

public SendLandProperties ( int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client ) : void
sequence_id int
snap_selection bool
request_result int
remote_client IClientAPI
return void

SendLandUpdateToAvatarsOverMe() public method

public SendLandUpdateToAvatarsOverMe ( ) : void
return void

SendLandUpdateToAvatarsOverMe() public method

public SendLandUpdateToAvatarsOverMe ( bool snap_selection ) : void
snap_selection bool
return void

SendLandUpdateToClient() public method

public SendLandUpdateToClient ( IClientAPI remote_client ) : void
remote_client IClientAPI
return void

SendLandUpdateToClient() public method

public SendLandUpdateToClient ( bool snap_selection, IClientAPI remote_client ) : void
snap_selection bool
remote_client IClientAPI
return void

SetMediaUrl() public method

Set the media url for this land parcel
public SetMediaUrl ( string url ) : void
url string
return void

SetMusicUrl() public method

Set the music url for this land parcel
public SetMusicUrl ( string url ) : void
url string
return void

UpdateAABBAndAreaValues() protected method

Updates the AABBMin and AABBMax values after area/shape modification of the land object
protected UpdateAABBAndAreaValues ( ) : void
return void

UpdateAccessList() public method

public UpdateAccessList ( uint flags, List entries, IClientAPI remote_client ) : void
flags uint
entries List
remote_client IClientAPI
return void

UpdateLandProperties() public method

public UpdateLandProperties ( LandUpdateArgs args, IClientAPI remote_client ) : void
args Universe.Framework.ClientInterfaces.LandUpdateArgs
remote_client IClientAPI
return void

UpdateLandSold() public method

public UpdateLandSold ( UUID avatarID, UUID groupID, bool groupOwned, uint AuctionID, int claimprice, int area ) : void
avatarID UUID
groupID UUID
groupOwned bool
AuctionID uint
claimprice int
area int
return void

findPointInParcel() protected method

protected findPointInParcel ( ILandObject land, uint &refX, uint &refY ) : void
land ILandObject
refX uint
refY uint
return void

Property Details

m_landData protected_oe property

protected LandData,Universe.Framework.SceneInfo m_landData
return Universe.Framework.SceneInfo.LandData

m_parcelManagementModule protected_oe property

protected IParcelManagementModule m_parcelManagementModule
return IParcelManagementModule

m_scene protected_oe property

protected IScene m_scene
return IScene