diff options
author | Melanie Thielker | 2009-05-13 04:04:26 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-13 04:04:26 +0000 |
commit | 1196f3eac7d7b72907fa42a6320c5263e3e46abe (patch) | |
tree | 2ae6ef21464b645defc26c85131bf3662db065a6 /OpenSim/Region/ScriptEngine | |
parent | Plumb request and return URL functions. (diff) | |
download | opensim-SC_OLD-1196f3eac7d7b72907fa42a6320c5263e3e46abe.zip opensim-SC_OLD-1196f3eac7d7b72907fa42a6320c5263e3e46abe.tar.gz opensim-SC_OLD-1196f3eac7d7b72907fa42a6320c5263e3e46abe.tar.bz2 opensim-SC_OLD-1196f3eac7d7b72907fa42a6320c5263e3e46abe.tar.xz |
Add most of the meat to the LSL HTTP server
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index cdb91fb..9020ff9 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -109,6 +109,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
109 | m_TransferModule = | 109 | m_TransferModule = |
110 | m_ScriptEngine.World.RequestModuleInterface<IMessageTransferModule>(); | 110 | m_ScriptEngine.World.RequestModuleInterface<IMessageTransferModule>(); |
111 | m_UrlModule = m_ScriptEngine.World.RequestModuleInterface<IUrlModule>(); | 111 | m_UrlModule = m_ScriptEngine.World.RequestModuleInterface<IUrlModule>(); |
112 | if (m_UrlModule != null) | ||
113 | { | ||
114 | m_ScriptEngine.OnScriptRemoved += m_UrlModule.ScriptRemoved; | ||
115 | m_ScriptEngine.OnObjectRemoved += m_UrlModule.ObjectRemoved; | ||
116 | } | ||
112 | 117 | ||
113 | AsyncCommands = new AsyncCommandManager(ScriptEngine); | 118 | AsyncCommands = new AsyncCommandManager(ScriptEngine); |
114 | } | 119 | } |
@@ -5616,7 +5621,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5616 | public LSL_Integer llGetFreeURLs() | 5621 | public LSL_Integer llGetFreeURLs() |
5617 | { | 5622 | { |
5618 | m_host.AddScriptLPS(1); | 5623 | m_host.AddScriptLPS(1); |
5619 | NotImplemented("llGetFreeURLs"); | 5624 | if (m_UrlModule != null) |
5625 | return new LSL_Integer(m_UrlModule.GetFreeUrls()); | ||
5620 | return new LSL_Integer(0); | 5626 | return new LSL_Integer(0); |
5621 | } | 5627 | } |
5622 | 5628 | ||