OpenSim
|
Public Member Functions | |
void | CopyAttachments (IScenePresence sp, AgentData ad) |
Copy attachment data from a ScenePresence into the AgentData structure for transmission to another simulator More... | |
void | CopyAttachments (AgentData ad, IScenePresence sp) |
Copy attachment data from an AgentData structure into a ScenePresence. More... | |
void | RezAttachments (IScenePresence sp) |
RezAttachments. This should only be called upon login on the first region. Attachment rezzings on crossings and TPs are done in a different way. More... | |
void | DeRezAttachments (IScenePresence sp) |
Derez the attachements for a scene presence that is closing. More... | |
void | DeleteAttachmentsFromScene (IScenePresence sp, bool silent) |
Delete all the presence's attachments from the scene This is done when a root agent leaves/is demoted to child (for instance, on logout, teleport or region cross). More... | |
bool | AttachObject (IScenePresence sp, SceneObjectGroup grp, uint AttachmentPt, bool silent, bool addToInventory, bool append) |
Attach an object to an avatar. More... | |
ISceneEntity | RezSingleAttachmentFromInventory (IScenePresence sp, UUID itemID, uint AttachmentPt) |
Rez an attachment from user inventory and change inventory status to match. More... | |
ISceneEntity | RezSingleAttachmentFromInventory (IScenePresence presence, UUID itemID, uint AttachmentPt, XmlDocument doc) |
void | RezMultipleAttachmentsFromInventory (IScenePresence sp, List< KeyValuePair< UUID, uint >> rezlist) |
Rez multiple attachments from a user's inventory More... | |
void | DetachSingleAttachmentToGround (IScenePresence sp, uint objectLocalID) |
Detach the given item to the ground. More... | |
void | DetachSingleAttachmentToGround (IScenePresence sp, uint objectLocalID, Vector3 absolutePos, Quaternion absoluteRot) |
Detach the given item to the ground at the specified coordinates & rotation More... | |
void | DetachSingleAttachmentToInv (IScenePresence sp, SceneObjectGroup grp) |
Detach the given attachment so that it remains in the user's inventory. More... | |
void | UpdateAttachmentPosition (SceneObjectGroup sog, Vector3 pos) |
Definition at line 37 of file IAttachmentsModule.cs.
bool OpenSim.Region.Framework.Interfaces.IAttachmentsModule.AttachObject | ( | IScenePresence | sp, |
SceneObjectGroup | grp, | ||
uint | AttachmentPt, | ||
bool | silent, | ||
bool | addToInventory, | ||
bool | append | ||
) |
Attach an object to an avatar.
sp | |
grp | |
AttachmentPt | |
silent | |
addToInventory | If true then add object to user inventory |
append | Append to attachment point rather than replace. |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
void OpenSim.Region.Framework.Interfaces.IAttachmentsModule.CopyAttachments | ( | IScenePresence | sp, |
AgentData | ad | ||
) |
Copy attachment data from a ScenePresence into the AgentData structure for transmission to another simulator
sp | |
ad |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
void OpenSim.Region.Framework.Interfaces.IAttachmentsModule.CopyAttachments | ( | AgentData | ad, |
IScenePresence | sp | ||
) |
Copy attachment data from an AgentData structure into a ScenePresence.
ad | |
sp |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
void OpenSim.Region.Framework.Interfaces.IAttachmentsModule.DeleteAttachmentsFromScene | ( | IScenePresence | sp, |
bool | silent | ||
) |
Delete all the presence's attachments from the scene This is done when a root agent leaves/is demoted to child (for instance, on logout, teleport or region cross).
sp | |
silent |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
void OpenSim.Region.Framework.Interfaces.IAttachmentsModule.DeRezAttachments | ( | IScenePresence | sp | ) |
Derez the attachements for a scene presence that is closing.
Attachment changes are saved.
sp | The presence closing |
saveChanged | Save changed attachments. |
saveAllScripted | Save attachments with scripts even if they haven't changed. |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
void OpenSim.Region.Framework.Interfaces.IAttachmentsModule.DetachSingleAttachmentToGround | ( | IScenePresence | sp, |
uint | objectLocalID | ||
) |
Detach the given item to the ground.
sp | |
objectLocalID |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
void OpenSim.Region.Framework.Interfaces.IAttachmentsModule.DetachSingleAttachmentToGround | ( | IScenePresence | sp, |
uint | objectLocalID, | ||
Vector3 | absolutePos, | ||
Quaternion | absoluteRot | ||
) |
Detach the given item to the ground at the specified coordinates & rotation
sp | |
objectLocalID | |
absolutePos | |
absoluteRot |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
void OpenSim.Region.Framework.Interfaces.IAttachmentsModule.DetachSingleAttachmentToInv | ( | IScenePresence | sp, |
SceneObjectGroup | grp | ||
) |
Detach the given attachment so that it remains in the user's inventory.
sp | /param>
|
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
void OpenSim.Region.Framework.Interfaces.IAttachmentsModule.RezAttachments | ( | IScenePresence | sp | ) |
RezAttachments. This should only be called upon login on the first region. Attachment rezzings on crossings and TPs are done in a different way.
This is only actually necessary for viewers which do not have a current outfit folder (these viewers make their own attachment calls on login) and agents which have attachments but no viewer (e.g. NPCs).
sp |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
void OpenSim.Region.Framework.Interfaces.IAttachmentsModule.RezMultipleAttachmentsFromInventory | ( | IScenePresence | sp, |
List< KeyValuePair< UUID, uint >> | rezlist | ||
) |
Rez multiple attachments from a user's inventory
sp | |
rezlist |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
ISceneEntity OpenSim.Region.Framework.Interfaces.IAttachmentsModule.RezSingleAttachmentFromInventory | ( | IScenePresence | sp, |
UUID | itemID, | ||
uint | AttachmentPt | ||
) |
Rez an attachment from user inventory and change inventory status to match.
sp | |
itemID | |
AttachmentPt |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
ISceneEntity OpenSim.Region.Framework.Interfaces.IAttachmentsModule.RezSingleAttachmentFromInventory | ( | IScenePresence | presence, |
UUID | itemID, | ||
uint | AttachmentPt, | ||
XmlDocument | doc | ||
) |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.
void OpenSim.Region.Framework.Interfaces.IAttachmentsModule.UpdateAttachmentPosition | ( | SceneObjectGroup | sog, |
Vector3 | pos | ||
) |
Update the position of an attachment.
sog | |
pos |
Implemented in OpenSim.Region.CoreModules.Avatar.Attachments.AttachmentsModule.