From 7bb070be55d0efe3a272f170055bdf02ee41aa65 Mon Sep 17 00:00:00 2001
From: Charles Krinke
Date: Mon, 29 Jun 2009 18:07:30 +0000
Subject: Thank you kindly, Snowdrop/Snowcrash for a patch that: This patch
makes the worn attachments accessible to MRM scripting
---
.../Scripting/Minimodule/Interfaces/IAvatar.cs | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces')
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IAvatar.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IAvatar.cs
index fef85dd..51ba36c 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IAvatar.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IAvatar.cs
@@ -32,8 +32,24 @@ using OpenMetaverse;
namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
{
- public interface IAvatar : IEntity
+ public interface IAvatarAttachment
{
-
+ ////
+ /// Describes where on the avatar the attachment is located
+ ///
+ int Location { get ; }
+
+ ////
+ /// Accessor to the rez'ed asset, representing the attachment
+ ///
+ IObject Asset { get; }
+ }
+
+ public interface IAvatar : IEntity
+ {
+ ////
+ /// Array of worn attachments, empty but not null, if no attachments are worn
+ ///
+ IAvatarAttachment[] Attachments { get; }
}
}
--
cgit v1.1