From ce19234dc865e645166dbe5cc52b6d8eb7c6d0af Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Mon, 5 May 2008 15:53:11 +0000 Subject: * Unraveled the DEBUG_CHANNEL mystery. * Moved script errors to the debug channel. * Typing '/2147483647 OK' results in a debug_channel message. * Expanded the available parameters that are send-able through IClientAPI --- OpenSim/Framework/IClientAPI.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 02ecc1a..a58114c 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -53,6 +53,7 @@ namespace OpenSim.Framework // 3 is an obsolete version of Say StartTyping = 4, StopTyping = 5, + DebugChannel = 6, Broadcast = 0xFF } @@ -82,6 +83,7 @@ namespace OpenSim.Framework protected IScene m_scene; protected IClientAPI m_sender; protected ChatTypeEnum m_type; + protected LLUUID m_fromID; public ChatFromViewerArgs() { @@ -144,6 +146,12 @@ namespace OpenSim.Framework set { m_sender = value; } } + public LLUUID SenderUUID + { + get { return m_fromID; } + set { m_fromID = value; } + } + /// /// /// @@ -653,8 +661,8 @@ namespace OpenSim.Framework void SendKillObject(ulong regionHandle, uint localID); void SendAnimations(LLUUID[] animID, int[] seqs, LLUUID sourceAgentId); void SendRegionHandshake(RegionInfo regionInfo); - void SendChatMessage(string message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID); - void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID); + void SendChatMessage(string message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID, byte source, byte audible); + void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID, byte source, byte audible); void SendInstantMessage(LLUUID fromAgent, LLUUID fromAgentSession, string message, LLUUID toAgent, LLUUID imSessionID, string fromName, byte dialog, uint timeStamp); -- cgit v1.1