C# Class OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule

Inheritance: IAttachmentsModule, INonSharedRegionModule
Afficher le fichier Open project: N3X15/VoxelSim Class Usage Examples

Protected Properties

Свойство Type Description
m_scene Scene

Méthodes publiques

Méthode Description
AddRegion ( Scene scene ) : void
AttachObject ( IClientAPI remoteClient, SceneObjectGroup group, uint AttachmentPt, bool silent ) : bool
AttachObject ( IClientAPI remoteClient, uint objectLocalID, uint AttachmentPt, bool silent ) : void

Called by client

Close ( ) : void
DetachObject ( uint objectLocalID, IClientAPI remoteClient ) : void
DetachSingleAttachmentToGround ( UUID itemID, IClientAPI remoteClient ) : void
Initialise ( IConfigSource source ) : void
RegionLoaded ( Scene scene ) : void
RemoveRegion ( Scene scene ) : void
RezMultipleAttachmentsFromInventory ( IClientAPI remoteClient, RezMultipleAttachmentsFromInvPacket header, RezMultipleAttachmentsFromInvPacket objects ) : void
RezSingleAttachmentFromInventory ( IClientAPI remoteClient, UUID itemID, uint AttachmentPt ) : UUID
RezSingleAttachmentFromInventory ( IClientAPI remoteClient, UUID itemID, uint AttachmentPt, bool updateInventoryStatus ) : UUID
ShowDetachInUserInventory ( UUID itemID, IClientAPI remoteClient ) : void
SubscribeToClientEvents ( IClientAPI client ) : void
UnsubscribeFromClientEvents ( IClientAPI client ) : void
UpdateAttachmentPosition ( IClientAPI client, SceneObjectGroup sog, Vector3 pos ) : void

Méthodes protégées

Méthode Description
AttachToAgent ( ScenePresence avatar, SceneObjectGroup so, uint attachmentpoint, System.Vector3 AttachOffset, bool silent ) : void

Attach this scene object to the given avatar.

DetachSingleAttachmentToInv ( UUID itemID, IClientAPI remoteClient ) : void
RezSingleAttachmentFromInventoryInternal ( IClientAPI remoteClient, UUID itemID, uint AttachmentPt ) : SceneObjectGroup
ShowAttachInUserInventory ( SceneObjectGroup att, IClientAPI remoteClient, UUID itemID, uint AttachmentPt ) : UUID

Update the user inventory to the attachment of an item

ShowAttachInUserInventory ( IClientAPI remoteClient, uint AttachmentPt, UUID itemID, SceneObjectGroup att ) : void

Update the user inventory to reflect an attachment

UpdateKnownItem ( IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID ) : void

Update the attachment asset for the new sog details if they have changed.

Method Details

AddRegion() public méthode

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

AttachObject() public méthode

public AttachObject ( IClientAPI remoteClient, SceneObjectGroup group, uint AttachmentPt, bool silent ) : bool
remoteClient IClientAPI
group OpenSim.Region.Framework.Scenes.SceneObjectGroup
AttachmentPt uint
silent bool
Résultat bool

AttachObject() public méthode

Called by client
public AttachObject ( IClientAPI remoteClient, uint objectLocalID, uint AttachmentPt, bool silent ) : void
remoteClient IClientAPI
objectLocalID uint
AttachmentPt uint
silent bool
Résultat void

AttachToAgent() protected méthode

Attach this scene object to the given avatar.
protected AttachToAgent ( ScenePresence avatar, SceneObjectGroup so, uint attachmentpoint, System.Vector3 AttachOffset, bool silent ) : void
avatar OpenSim.Region.Framework.Scenes.ScenePresence
so OpenSim.Region.Framework.Scenes.SceneObjectGroup
attachmentpoint uint
AttachOffset System.Vector3
silent bool
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

DetachObject() public méthode

public DetachObject ( uint objectLocalID, IClientAPI remoteClient ) : void
objectLocalID uint
remoteClient IClientAPI
Résultat void

DetachSingleAttachmentToGround() public méthode

public DetachSingleAttachmentToGround ( UUID itemID, IClientAPI remoteClient ) : void
itemID UUID
remoteClient IClientAPI
Résultat void

DetachSingleAttachmentToInv() protected méthode

protected DetachSingleAttachmentToInv ( UUID itemID, IClientAPI remoteClient ) : void
itemID UUID
remoteClient IClientAPI
Résultat void

Initialise() public méthode

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

RegionLoaded() public méthode

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

RemoveRegion() public méthode

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

RezMultipleAttachmentsFromInventory() public méthode

public RezMultipleAttachmentsFromInventory ( IClientAPI remoteClient, RezMultipleAttachmentsFromInvPacket header, RezMultipleAttachmentsFromInvPacket objects ) : void
remoteClient IClientAPI
header RezMultipleAttachmentsFromInvPacket
objects RezMultipleAttachmentsFromInvPacket
Résultat void

RezSingleAttachmentFromInventory() public méthode

public RezSingleAttachmentFromInventory ( IClientAPI remoteClient, UUID itemID, uint AttachmentPt ) : UUID
remoteClient IClientAPI
itemID UUID
AttachmentPt uint
Résultat UUID

RezSingleAttachmentFromInventory() public méthode

public RezSingleAttachmentFromInventory ( IClientAPI remoteClient, UUID itemID, uint AttachmentPt, bool updateInventoryStatus ) : UUID
remoteClient IClientAPI
itemID UUID
AttachmentPt uint
updateInventoryStatus bool
Résultat UUID

RezSingleAttachmentFromInventoryInternal() protected méthode

protected RezSingleAttachmentFromInventoryInternal ( IClientAPI remoteClient, UUID itemID, uint AttachmentPt ) : SceneObjectGroup
remoteClient IClientAPI
itemID UUID
AttachmentPt uint
Résultat SceneObjectGroup

ShowAttachInUserInventory() protected méthode

Update the user inventory to the attachment of an item
protected ShowAttachInUserInventory ( SceneObjectGroup att, IClientAPI remoteClient, UUID itemID, uint AttachmentPt ) : UUID
att SceneObjectGroup
remoteClient IClientAPI
itemID UUID
AttachmentPt uint
Résultat UUID

ShowAttachInUserInventory() protected méthode

Update the user inventory to reflect an attachment
protected ShowAttachInUserInventory ( IClientAPI remoteClient, uint AttachmentPt, UUID itemID, SceneObjectGroup att ) : void
remoteClient IClientAPI
AttachmentPt uint
itemID UUID
att SceneObjectGroup
Résultat void

ShowDetachInUserInventory() public méthode

public ShowDetachInUserInventory ( UUID itemID, IClientAPI remoteClient ) : void
itemID UUID
remoteClient IClientAPI
Résultat void

SubscribeToClientEvents() public méthode

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

UnsubscribeFromClientEvents() public méthode

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

UpdateAttachmentPosition() public méthode

public UpdateAttachmentPosition ( IClientAPI client, SceneObjectGroup sog, Vector3 pos ) : void
client IClientAPI
sog SceneObjectGroup
pos Vector3
Résultat void

UpdateKnownItem() protected méthode

Update the attachment asset for the new sog details if they have changed.
protected UpdateKnownItem ( IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID ) : void
remoteClient IClientAPI
grp SceneObjectGroup
itemID UUID
agentID UUID
Résultat void

Property Details

m_scene protected_oe property

protected Scene m_scene
Résultat Scene