diff options
author | Jeff Ames | 2007-12-10 02:29:42 +0000 |
---|---|---|
committer | Jeff Ames | 2007-12-10 02:29:42 +0000 |
commit | e278d07220f976dec730890e4853ead58f83502a (patch) | |
tree | 14873c24f88ae4e32e75ec286df34de00c0db94f /OpenSim/Framework | |
parent | * Hooked up the GridComm event ChildDataUpdate to the scene. (diff) | |
download | opensim-SC-e278d07220f976dec730890e4853ead58f83502a.zip opensim-SC-e278d07220f976dec730890e4853ead58f83502a.tar.gz opensim-SC-e278d07220f976dec730890e4853ead58f83502a.tar.bz2 opensim-SC-e278d07220f976dec730890e4853ead58f83502a.tar.xz |
refactored ChatModule a bit.
misc cleanup and code convention fixes.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 21 |
1 files changed, 19 insertions, 2 deletions
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 | |||
50 | Whisper = 0, | 50 | Whisper = 0, |
51 | Say = 1, | 51 | Say = 1, |
52 | Shout = 2, | 52 | Shout = 2, |
53 | // 3 is an obsolete version of Say | ||
53 | StartTyping = 4, | 54 | StartTyping = 4, |
54 | StopTyping = 5, | 55 | StopTyping = 5, |
55 | Broadcast = 0xFF | 56 | Broadcast = 0xFF |
56 | } ; | 57 | } |
58 | |||
57 | public enum ThrottleOutPacketType : int | 59 | public enum ThrottleOutPacketType : int |
58 | { | 60 | { |
59 | Resend = 0, | 61 | Resend = 0, |
@@ -135,6 +137,9 @@ namespace OpenSim.Framework | |||
135 | set { m_sender = value; } | 137 | set { m_sender = value; } |
136 | } | 138 | } |
137 | 139 | ||
140 | /// <summary> | ||
141 | /// | ||
142 | /// </summary> | ||
138 | public IScene Scene | 143 | public IScene Scene |
139 | { | 144 | { |
140 | get { return m_scene; } | 145 | get { return m_scene; } |
@@ -153,18 +158,27 @@ namespace OpenSim.Framework | |||
153 | private sbyte m_discardLevel; | 158 | private sbyte m_discardLevel; |
154 | private uint m_packetNumber; | 159 | private uint m_packetNumber; |
155 | 160 | ||
161 | /// <summary> | ||
162 | /// | ||
163 | /// </summary> | ||
156 | public uint PacketNumber | 164 | public uint PacketNumber |
157 | { | 165 | { |
158 | get { return m_packetNumber; } | 166 | get { return m_packetNumber; } |
159 | set { m_packetNumber = value; } | 167 | set { m_packetNumber = value; } |
160 | } | 168 | } |
161 | 169 | ||
170 | /// <summary> | ||
171 | /// | ||
172 | /// </summary> | ||
162 | public sbyte DiscardLevel | 173 | public sbyte DiscardLevel |
163 | { | 174 | { |
164 | get { return m_discardLevel; } | 175 | get { return m_discardLevel; } |
165 | set { m_discardLevel = value; } | 176 | set { m_discardLevel = value; } |
166 | } | 177 | } |
167 | 178 | ||
179 | /// <summary> | ||
180 | /// | ||
181 | /// </summary> | ||
168 | public LLUUID RequestedAssetID | 182 | public LLUUID RequestedAssetID |
169 | { | 183 | { |
170 | get { return m_requestedAssetID; } | 184 | get { return m_requestedAssetID; } |
@@ -176,6 +190,9 @@ namespace OpenSim.Framework | |||
176 | { | 190 | { |
177 | private List<Wearable> m_nowWearing = new List<Wearable>(); | 191 | private List<Wearable> m_nowWearing = new List<Wearable>(); |
178 | 192 | ||
193 | /// <summary> | ||
194 | /// | ||
195 | /// </summary> | ||
179 | public List<Wearable> NowWearing | 196 | public List<Wearable> NowWearing |
180 | { | 197 | { |
181 | get { return m_nowWearing; } | 198 | get { return m_nowWearing; } |
@@ -269,6 +286,7 @@ namespace OpenSim.Framework | |||
269 | public delegate void AgentRequestSit(IClientAPI remoteClient, LLUUID agentID, LLUUID targetID, LLVector3 offset); | 286 | public delegate void AgentRequestSit(IClientAPI remoteClient, LLUUID agentID, LLUUID targetID, LLVector3 offset); |
270 | 287 | ||
271 | public delegate void AgentSit(IClientAPI remoteClient, LLUUID agentID); | 288 | public delegate void AgentSit(IClientAPI remoteClient, LLUUID agentID); |
289 | |||
272 | public delegate void AvatarPickerRequest(IClientAPI remoteClient, LLUUID agentdata, LLUUID queryID, string UserQuery); | 290 | public delegate void AvatarPickerRequest(IClientAPI remoteClient, LLUUID agentdata, LLUUID queryID, string UserQuery); |
273 | 291 | ||
274 | public delegate void MoveObject(LLUUID objectID, LLVector3 offset, LLVector3 grapPos, IClientAPI remoteClient); | 292 | public delegate void MoveObject(LLUUID objectID, LLVector3 offset, LLVector3 grapPos, IClientAPI remoteClient); |
@@ -340,7 +358,6 @@ namespace OpenSim.Framework | |||
340 | 358 | ||
341 | public delegate void ObjectPermissions(IClientAPI remoteClinet, LLUUID AgentID, LLUUID SessionID, List<ObjectPermissionsPacket.ObjectDataBlock> permChanges); | 359 | public delegate void ObjectPermissions(IClientAPI remoteClinet, LLUUID AgentID, LLUUID SessionID, List<ObjectPermissionsPacket.ObjectDataBlock> permChanges); |
342 | 360 | ||
343 | |||
344 | public interface IClientAPI | 361 | public interface IClientAPI |
345 | { | 362 | { |
346 | event ImprovedInstantMessage OnInstantMessage; | 363 | event ImprovedInstantMessage OnInstantMessage; |