diff options
author | Charles Krinke | 2009-06-29 18:07:30 +0000 |
---|---|---|
committer | Charles Krinke | 2009-06-29 18:07:30 +0000 |
commit | 7bb070be55d0efe3a272f170055bdf02ee41aa65 (patch) | |
tree | d24437108a7ae8fab611bb8b1706db967ac8f719 /OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces | |
parent | * Changing List to Dictionary in PacketQueue.Dequeue for great justice (and p... (diff) | |
download | opensim-SC_OLD-7bb070be55d0efe3a272f170055bdf02ee41aa65.zip opensim-SC_OLD-7bb070be55d0efe3a272f170055bdf02ee41aa65.tar.gz opensim-SC_OLD-7bb070be55d0efe3a272f170055bdf02ee41aa65.tar.bz2 opensim-SC_OLD-7bb070be55d0efe3a272f170055bdf02ee41aa65.tar.xz |
Thank you kindly, Snowdrop/Snowcrash for a patch that:
This patch makes the worn attachments accessible to MRM scripting
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IAvatar.cs | 20 |
1 files changed, 18 insertions, 2 deletions
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; | |||
32 | 32 | ||
33 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | 33 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule |
34 | { | 34 | { |
35 | public interface IAvatar : IEntity | 35 | public interface IAvatarAttachment |
36 | { | 36 | { |
37 | 37 | //// <value> | |
38 | /// Describes where on the avatar the attachment is located | ||
39 | /// </value> | ||
40 | int Location { get ; } | ||
41 | |||
42 | //// <value> | ||
43 | /// Accessor to the rez'ed asset, representing the attachment | ||
44 | /// </value> | ||
45 | IObject Asset { get; } | ||
46 | } | ||
47 | |||
48 | public interface IAvatar : IEntity | ||
49 | { | ||
50 | //// <value> | ||
51 | /// Array of worn attachments, empty but not null, if no attachments are worn | ||
52 | /// </value> | ||
53 | IAvatarAttachment[] Attachments { get; } | ||
38 | } | 54 | } |
39 | } | 55 | } |