diff options
author | lbsa71 | 2007-11-05 14:38:58 +0000 |
---|---|---|
committer | lbsa71 | 2007-11-05 14:38:58 +0000 |
commit | f6c8c10d3fce8eb279608cdeb9d8154fbca3852c (patch) | |
tree | e694744ba737b671cf77407c210263244b6b65ca /OpenSim/Framework/IClientAPI.cs | |
parent | add a fixup for linux building (diff) | |
download | opensim-SC-f6c8c10d3fce8eb279608cdeb9d8154fbca3852c.zip opensim-SC-f6c8c10d3fce8eb279608cdeb9d8154fbca3852c.tar.gz opensim-SC-f6c8c10d3fce8eb279608cdeb9d8154fbca3852c.tar.bz2 opensim-SC-f6c8c10d3fce8eb279608cdeb9d8154fbca3852c.tar.xz |
* Substituted som 'GenericCall' with Action<>
* OnRequestWearables does no longer accept 'Client' as param, since it's always on the current client
* Fixed SendOwnWearables to always operate on self, as that's what it does
Diffstat (limited to 'OpenSim/Framework/IClientAPI.cs')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 7fcbe9e..c18216e 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -183,19 +183,13 @@ namespace OpenSim.Framework | |||
183 | 183 | ||
184 | public delegate void RequestAvatarProperties(IClientAPI remoteClient, LLUUID avatarID); | 184 | public delegate void RequestAvatarProperties(IClientAPI remoteClient, LLUUID avatarID); |
185 | 185 | ||
186 | public delegate void GenericCall(IClientAPI remoteClient); | ||
187 | |||
188 | public delegate void GenericCall2(); | 186 | public delegate void GenericCall2(); |
189 | 187 | ||
190 | public delegate void GenericCall3(Packet packet); | ||
191 | |||
192 | // really don't want to be passing packets in these events, so this is very temporary. | 188 | // really don't want to be passing packets in these events, so this is very temporary. |
193 | public delegate void GenericCall4(Packet packet, IClientAPI remoteClient); | 189 | public delegate void GenericCall4(Packet packet, IClientAPI remoteClient); |
194 | 190 | ||
195 | public delegate void GenericCall5(IClientAPI remoteClient, bool status); | 191 | public delegate void GenericCall5(IClientAPI remoteClient, bool status); |
196 | 192 | ||
197 | public delegate void GenericCall6(LLUUID uid); | ||
198 | |||
199 | public delegate void GenericCall7(uint localID, string message); | 193 | public delegate void GenericCall7(uint localID, string message); |
200 | 194 | ||
201 | public delegate void UpdateShape(uint localID, ObjectShapePacket.ObjectDataBlock shapeBlock); | 195 | public delegate void UpdateShape(uint localID, ObjectShapePacket.ObjectDataBlock shapeBlock); |
@@ -299,13 +293,13 @@ namespace OpenSim.Framework | |||
299 | event RequestAvatarProperties OnRequestAvatarProperties; | 293 | event RequestAvatarProperties OnRequestAvatarProperties; |
300 | 294 | ||
301 | event GenericCall4 OnDeRezObject; | 295 | event GenericCall4 OnDeRezObject; |
302 | event GenericCall OnRegionHandShakeReply; | 296 | event Action<IClientAPI> OnRegionHandShakeReply; |
303 | event GenericCall OnRequestWearables; | 297 | event GenericCall2 OnRequestWearables; |
304 | event GenericCall2 OnCompleteMovementToRegion; | 298 | event GenericCall2 OnCompleteMovementToRegion; |
305 | event UpdateAgent OnAgentUpdate; | 299 | event UpdateAgent OnAgentUpdate; |
306 | event AgentRequestSit OnAgentRequestSit; | 300 | event AgentRequestSit OnAgentRequestSit; |
307 | event AgentSit OnAgentSit; | 301 | event AgentSit OnAgentSit; |
308 | event GenericCall OnRequestAvatarsData; | 302 | event Action<IClientAPI> OnRequestAvatarsData; |
309 | event AddNewPrim OnAddPrim; | 303 | event AddNewPrim OnAddPrim; |
310 | event ObjectDuplicate OnObjectDuplicate; | 304 | event ObjectDuplicate OnObjectDuplicate; |
311 | event UpdateVector OnGrabObject; | 305 | event UpdateVector OnGrabObject; |
@@ -328,7 +322,7 @@ namespace OpenSim.Framework | |||
328 | event UpdateVector OnUpdatePrimScale; | 322 | event UpdateVector OnUpdatePrimScale; |
329 | event StatusChange OnChildAgentStatus; | 323 | event StatusChange OnChildAgentStatus; |
330 | event GenericCall2 OnStopMovement; | 324 | event GenericCall2 OnStopMovement; |
331 | event GenericCall6 OnRemoveAvatar; | 325 | event Action<LLUUID> OnRemoveAvatar; |
332 | 326 | ||
333 | event CreateNewInventoryItem OnCreateNewInventoryItem; | 327 | event CreateNewInventoryItem OnCreateNewInventoryItem; |
334 | event CreateInventoryFolder OnCreateNewInventoryFolder; | 328 | event CreateInventoryFolder OnCreateNewInventoryFolder; |