From e278d07220f976dec730890e4853ead58f83502a Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Mon, 10 Dec 2007 02:29:42 +0000 Subject: refactored ChatModule a bit. misc cleanup and code convention fixes. --- OpenSim/Framework/IClientAPI.cs | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 43c8c70..76578df 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -50,10 +50,12 @@ namespace OpenSim.Framework Whisper = 0, Say = 1, Shout = 2, + // 3 is an obsolete version of Say StartTyping = 4, StopTyping = 5, Broadcast = 0xFF - } ; + } + public enum ThrottleOutPacketType : int { Resend = 0, @@ -135,6 +137,9 @@ namespace OpenSim.Framework set { m_sender = value; } } + /// + /// + /// public IScene Scene { get { return m_scene; } @@ -153,18 +158,27 @@ namespace OpenSim.Framework private sbyte m_discardLevel; private uint m_packetNumber; + /// + /// + /// public uint PacketNumber { get { return m_packetNumber; } set { m_packetNumber = value; } } + /// + /// + /// public sbyte DiscardLevel { get { return m_discardLevel; } set { m_discardLevel = value; } } + /// + /// + /// public LLUUID RequestedAssetID { get { return m_requestedAssetID; } @@ -176,6 +190,9 @@ namespace OpenSim.Framework { private List m_nowWearing = new List(); + /// + /// + /// public List NowWearing { get { return m_nowWearing; } @@ -269,6 +286,7 @@ namespace OpenSim.Framework public delegate void AgentRequestSit(IClientAPI remoteClient, LLUUID agentID, LLUUID targetID, LLVector3 offset); public delegate void AgentSit(IClientAPI remoteClient, LLUUID agentID); + public delegate void AvatarPickerRequest(IClientAPI remoteClient, LLUUID agentdata, LLUUID queryID, string UserQuery); public delegate void MoveObject(LLUUID objectID, LLVector3 offset, LLVector3 grapPos, IClientAPI remoteClient); @@ -340,7 +358,6 @@ namespace OpenSim.Framework public delegate void ObjectPermissions(IClientAPI remoteClinet, LLUUID AgentID, LLUUID SessionID, List permChanges); - public interface IClientAPI { event ImprovedInstantMessage OnInstantMessage; -- cgit v1.1