diff options
author | SignpostMarv | 2012-09-01 02:44:11 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-09-04 00:03:44 +0100 |
commit | ff867b59cf59fdab19413cd46f3dd04058fbf3c7 (patch) | |
tree | 36d6ac570be77c61245be64a8403fc296be76d3f /OpenSim/Region/ScriptEngine/Shared/Api/Interface | |
parent | refactoring the grunt work of MessageObject into a private method with a UUID... (diff) | |
download | opensim-SC_OLD-ff867b59cf59fdab19413cd46f3dd04058fbf3c7.zip opensim-SC_OLD-ff867b59cf59fdab19413cd46f3dd04058fbf3c7.tar.gz opensim-SC_OLD-ff867b59cf59fdab19413cd46f3dd04058fbf3c7.tar.bz2 opensim-SC_OLD-ff867b59cf59fdab19413cd46f3dd04058fbf3c7.tar.xz |
Implementing functing to send messages directly to attachments
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 6db6443..bde7a8e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -200,6 +200,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
200 | /// <returns></returns> | 200 | /// <returns></returns> |
201 | LSL_List osGetNumberOfAttachments(LSL_Key avatar, LSL_List attachmentPoints); | 201 | LSL_List osGetNumberOfAttachments(LSL_Key avatar, LSL_List attachmentPoints); |
202 | 202 | ||
203 | /// <summary> | ||
204 | /// Sends a specified message to the specified avatar's attachments on | ||
205 | /// the specified attachment points. | ||
206 | /// </summary> | ||
207 | /// <remarks> | ||
208 | /// Behaves as osMessageObject(), without the sending script needing to know the attachment keys in advance. | ||
209 | /// </remarks> | ||
210 | /// <param name="avatar">avatar UUID</param> | ||
211 | /// <param name="message">message string</param> | ||
212 | /// <param name="attachmentPoints">list of ATTACH_* constants, or -1 for all attachments. If -1 is specified and OS_ATTACH_MSG_INVERT_POINTS is present in flags, no action is taken.</param> | ||
213 | /// <param name="flags">flags further constraining the attachments to deliver the message to.</param> | ||
214 | void osMessageAttachments(LSL_Key avatar, string message, LSL_List attachmentPoints, int flags); | ||
215 | |||
203 | #endregion | 216 | #endregion |
204 | 217 | ||
205 | //texture draw functions | 218 | //texture draw functions |