diff options
author | SignpostMarv | 2012-09-01 02:43:04 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-09-04 00:03:44 +0100 |
commit | d4b8a13a1d63c950feba694eca53df06f2cc5792 (patch) | |
tree | 27504ad7005249341a68fcaf51f39d9b4a32ff5a /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | implementing a function to get the number of attachments worn (diff) | |
download | opensim-SC-d4b8a13a1d63c950feba694eca53df06f2cc5792.zip opensim-SC-d4b8a13a1d63c950feba694eca53df06f2cc5792.tar.gz opensim-SC-d4b8a13a1d63c950feba694eca53df06f2cc5792.tar.bz2 opensim-SC-d4b8a13a1d63c950feba694eca53df06f2cc5792.tar.xz |
refactoring the grunt work of MessageObject into a private method with a UUID argument
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 57f1e65..82114b3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1673,6 +1673,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1673 | return; | 1673 | return; |
1674 | } | 1674 | } |
1675 | 1675 | ||
1676 | MessageObject(objUUID, message); | ||
1677 | } | ||
1678 | |||
1679 | private void MessageObject(UUID objUUID, string message) | ||
1680 | { | ||
1676 | object[] resobj = new object[] { new LSL_Types.LSLString(m_host.UUID.ToString()), new LSL_Types.LSLString(message) }; | 1681 | object[] resobj = new object[] { new LSL_Types.LSLString(m_host.UUID.ToString()), new LSL_Types.LSLString(message) }; |
1677 | 1682 | ||
1678 | SceneObjectPart sceneOP = World.GetSceneObjectPart(objUUID); | 1683 | SceneObjectPart sceneOP = World.GetSceneObjectPart(objUUID); |