diff options
author | Jeff Ames | 2007-12-10 05:58:30 +0000 |
---|---|---|
committer | Jeff Ames | 2007-12-10 05:58:30 +0000 |
commit | 081a66d570934ff1715d79990fa625547bdba49e (patch) | |
tree | 5b759772e2d8dff8e40bebfe67d7ea5029d0a691 | |
parent | saved OpenSim source code from the giant rampaging unterminated copyright not... (diff) | |
download | opensim-SC_OLD-081a66d570934ff1715d79990fa625547bdba49e.zip opensim-SC_OLD-081a66d570934ff1715d79990fa625547bdba49e.tar.gz opensim-SC_OLD-081a66d570934ff1715d79990fa625547bdba49e.tar.bz2 opensim-SC_OLD-081a66d570934ff1715d79990fa625547bdba49e.tar.xz |
added musings on llInstantMessage
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs index 353382d..e160fd3 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | |||
@@ -831,6 +831,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
831 | public void llInstantMessage(string user, string message) | 831 | public void llInstantMessage(string user, string message) |
832 | { | 832 | { |
833 | NotImplemented("llInstantMessage"); | 833 | NotImplemented("llInstantMessage"); |
834 | |||
835 | // We may be able to use ClientView.SendInstantMessage here, but we need a client instance. | ||
836 | // InstantMessageModule.OnInstantMessage searches through a list of scenes for a client matching the toAgent, | ||
837 | // but I don't think we have a list of scenes available from here. | ||
838 | // (We also don't want to duplicate the code in OnInstantMessage if we can avoid it.) | ||
839 | |||
840 | // TODO: figure out values for client, fromSession, and imSessionID | ||
841 | // client.SendInstantMessage(m_host.UUID, fromSession, message, user, imSessionID, m_host.Name, AgentManager.InstantMessageDialog.MessageFromAgent, (uint)Util.UnixTimeSinceEpoch()); | ||
834 | } | 842 | } |
835 | 843 | ||
836 | public void llEmail(string address, string subject, string message) | 844 | public void llEmail(string address, string subject, string message) |