Thank you kindly, Snowdrop/Snowcrash for a patch that:

This patch makes the worn attachments accessible to MRM scripting
This commit is contained in:
Charles Krinke
2009-06-29 18:07:30 +00:00
parent 6da88dceb0
commit 7bb070be55
3 changed files with 81 additions and 2 deletions

View File

@@ -32,8 +32,24 @@ using OpenMetaverse;
namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
{
public interface IAvatar : IEntity
public interface IAvatarAttachment
{
//// <value>
/// Describes where on the avatar the attachment is located
/// </value>
int Location { get ; }
//// <value>
/// Accessor to the rez'ed asset, representing the attachment
/// </value>
IObject Asset { get; }
}
public interface IAvatar : IEntity
{
//// <value>
/// Array of worn attachments, empty but not null, if no attachments are worn
/// </value>
IAvatarAttachment[] Attachments { get; }
}
}