aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorSignpostMarv2012-09-01 02:43:04 +0100
committerJustin Clark-Casey (justincc)2012-09-04 00:03:44 +0100
commitd4b8a13a1d63c950feba694eca53df06f2cc5792 (patch)
tree27504ad7005249341a68fcaf51f39d9b4a32ff5a /OpenSim/Region/ScriptEngine
parentimplementing a function to get the number of attachments worn (diff)
downloadopensim-SC_OLD-d4b8a13a1d63c950feba694eca53df06f2cc5792.zip
opensim-SC_OLD-d4b8a13a1d63c950feba694eca53df06f2cc5792.tar.gz
opensim-SC_OLD-d4b8a13a1d63c950feba694eca53df06f2cc5792.tar.bz2
opensim-SC_OLD-d4b8a13a1d63c950feba694eca53df06f2cc5792.tar.xz
refactoring the grunt work of MessageObject into a private method with a UUID argument
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs5
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);