C# Класс Universe.Modules.Land.LandObject

Keeps track of a specific piece of land's information
Наследование: ILandObject
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_landData Universe.Framework.SceneInfo.LandData
m_parcelManagementModule IParcelManagementModule
m_scene IScene

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
UpdateAABBAndAreaValues ( ) : void

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

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

Описание методов

ContainsPoint() публичный Метод

Checks to see if this land object contains a point
public ContainsPoint ( int x, int y ) : bool
x int
y int
Результат bool

Copy() публичный Метод

public Copy ( ) : ILandObject
Результат ILandObject

CreateAccessListArrayByFlag() публичный Метод

public CreateAccessListArrayByFlag ( AccessList flag ) : List>
flag AccessList
Результат List>

DeedToGroup() публичный Метод

public DeedToGroup ( UUID groupID ) : void
groupID UUID
Результат void

DisableLandObjects() публичный Метод

public DisableLandObjects ( uint type, UUID owners, UUID tasks, IClientAPI remote_client ) : void
type uint
owners UUID
tasks UUID
remote_client IClientAPI
Результат void

ForceUpdateLandInfo() публичный Метод

Update all settings in land such as area, bitmap byte array, etc
public ForceUpdateLandInfo ( ) : void
Результат void

GetPrimsOverByOwner() публичный Метод

public GetPrimsOverByOwner ( UUID targetID, int flags ) : List
targetID UUID
flags int
Результат List

IsBannedFromLand() публичный Метод

public IsBannedFromLand ( UUID avatar ) : bool
avatar UUID
Результат bool

IsEitherBannedOrRestricted() публичный Метод

public IsEitherBannedOrRestricted ( UUID avatar ) : bool
avatar UUID
Результат bool

IsRestrictedFromLand() публичный Метод

public IsRestrictedFromLand ( UUID avatar ) : bool
avatar UUID
Результат bool

LandObject() публичный Метод

public LandObject ( UUID owner_id, bool is_group_owned, IScene scene ) : System
owner_id UUID
is_group_owned bool
scene IScene
Результат System

ReturnLandObjects() публичный Метод

public ReturnLandObjects ( uint type, UUID owners, UUID tasks, IClientAPI remote_client ) : void
type uint
owners UUID
tasks UUID
remote_client IClientAPI
Результат void

SendAccessList() публичный Метод

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
Результат void

SendForceObjectSelect() публичный Метод

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
Результат void

SendLandObjectOwners() публичный Метод

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 /// ///
Результат void

SendLandProperties() публичный Метод

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
Результат void

SendLandUpdateToAvatarsOverMe() публичный Метод

public SendLandUpdateToAvatarsOverMe ( ) : void
Результат void

SendLandUpdateToAvatarsOverMe() публичный Метод

public SendLandUpdateToAvatarsOverMe ( bool snap_selection ) : void
snap_selection bool
Результат void

SendLandUpdateToClient() публичный Метод

public SendLandUpdateToClient ( IClientAPI remote_client ) : void
remote_client IClientAPI
Результат void

SendLandUpdateToClient() публичный Метод

public SendLandUpdateToClient ( bool snap_selection, IClientAPI remote_client ) : void
snap_selection bool
remote_client IClientAPI
Результат void

SetMediaUrl() публичный Метод

Set the media url for this land parcel
public SetMediaUrl ( string url ) : void
url string
Результат void

SetMusicUrl() публичный Метод

Set the music url for this land parcel
public SetMusicUrl ( string url ) : void
url string
Результат void

UpdateAABBAndAreaValues() защищенный Метод

Updates the AABBMin and AABBMax values after area/shape modification of the land object
protected UpdateAABBAndAreaValues ( ) : void
Результат void

UpdateAccessList() публичный Метод

public UpdateAccessList ( uint flags, List entries, IClientAPI remote_client ) : void
flags uint
entries List
remote_client IClientAPI
Результат void

UpdateLandProperties() публичный Метод

public UpdateLandProperties ( LandUpdateArgs args, IClientAPI remote_client ) : void
args Universe.Framework.ClientInterfaces.LandUpdateArgs
remote_client IClientAPI
Результат void

UpdateLandSold() публичный Метод

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
Результат void

findPointInParcel() защищенный Метод

protected findPointInParcel ( ILandObject land, uint &refX, uint &refY ) : void
land ILandObject
refX uint
refY uint
Результат void

Описание свойств

m_landData защищенное свойство

protected LandData,Universe.Framework.SceneInfo m_landData
Результат Universe.Framework.SceneInfo.LandData

m_parcelManagementModule защищенное свойство

protected IParcelManagementModule m_parcelManagementModule
Результат IParcelManagementModule

m_scene защищенное свойство

protected IScene m_scene
Результат IScene