diff options
author | Melanie Thielker | 2008-10-11 05:59:12 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-11 05:59:12 +0000 |
commit | 544daf1c76ff553036ebd81a8e0e2af0dff9bfe0 (patch) | |
tree | ffb7d4d1baef49cb19d73aa047c97079494f0702 /OpenSim/Framework | |
parent | Thanks cmickyb for a patch that enhances the IRC module. (diff) | |
download | opensim-SC_OLD-544daf1c76ff553036ebd81a8e0e2af0dff9bfe0.zip opensim-SC_OLD-544daf1c76ff553036ebd81a8e0e2af0dff9bfe0.tar.gz opensim-SC_OLD-544daf1c76ff553036ebd81a8e0e2af0dff9bfe0.tar.bz2 opensim-SC_OLD-544daf1c76ff553036ebd81a8e0e2af0dff9bfe0.tar.xz |
Plumb the remaining search packets and replies.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index dd905c9..556f724 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -314,6 +314,10 @@ namespace OpenSim.Framework | |||
314 | public delegate void ObjectOwner(IClientAPI remoteClient, UUID ownerID, UUID groupID, List<uint> localIDs); | 314 | public delegate void ObjectOwner(IClientAPI remoteClient, UUID ownerID, UUID groupID, List<uint> localIDs); |
315 | 315 | ||
316 | public delegate void DirPlacesQuery(IClientAPI remoteClient, UUID queryID, string queryText, int queryFlags, int category, string simName, int queryStart); | 316 | public delegate void DirPlacesQuery(IClientAPI remoteClient, UUID queryID, string queryText, int queryFlags, int category, string simName, int queryStart); |
317 | public delegate void DirFindQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, int queryStart); | ||
318 | public delegate void DirLandQuery(IClientAPI remoteClient, UUID queryID, uint queryFlags, uint searchType, int price, int area, int queryStart); | ||
319 | public delegate void DirPopularQuery(IClientAPI remoteClient, UUID queryID, uint queryFlags); | ||
320 | public delegate void DirClassifiedQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, uint category, int queryStart); | ||
317 | 321 | ||
318 | public delegate void MapItemRequest(IClientAPI remoteClient, uint flags, uint EstateID, bool godlike, uint itemtype, ulong regionhandle); | 322 | public delegate void MapItemRequest(IClientAPI remoteClient, uint flags, uint EstateID, bool godlike, uint itemtype, ulong regionhandle); |
319 | 323 | ||
@@ -328,6 +332,61 @@ namespace OpenSim.Framework | |||
328 | public float dwell; | 332 | public float dwell; |
329 | } | 333 | } |
330 | 334 | ||
335 | public struct DirPeopleReplyData | ||
336 | { | ||
337 | public UUID agentID; | ||
338 | public string firstName; | ||
339 | public string lastName; | ||
340 | public string group; | ||
341 | public bool online; | ||
342 | public int reputation; | ||
343 | } | ||
344 | |||
345 | public struct DirEventsReplyData | ||
346 | { | ||
347 | public UUID ownerID; | ||
348 | public string name; | ||
349 | public uint eventID; | ||
350 | public string date; | ||
351 | public uint unixTime; | ||
352 | public uint eventFlags; | ||
353 | } | ||
354 | |||
355 | public struct DirGroupsReplyData | ||
356 | { | ||
357 | public UUID groupID; | ||
358 | public string groupName; | ||
359 | public int members; | ||
360 | public float searchOrder; | ||
361 | } | ||
362 | |||
363 | public struct DirClassifiedReplyData | ||
364 | { | ||
365 | public UUID classifiedID; | ||
366 | public string name; | ||
367 | public byte classifiedFlags; | ||
368 | public uint creationDate; | ||
369 | public uint expirationDate; | ||
370 | public int price; | ||
371 | } | ||
372 | |||
373 | public struct DirLandReplyData | ||
374 | { | ||
375 | public UUID parcelID; | ||
376 | public string name; | ||
377 | public bool auction; | ||
378 | public bool forSale; | ||
379 | public int salePrice; | ||
380 | public int actualArea; | ||
381 | } | ||
382 | |||
383 | public struct DirPopularReplyData | ||
384 | { | ||
385 | public UUID parcelID; | ||
386 | public string name; | ||
387 | public float dwell; | ||
388 | } | ||
389 | |||
331 | public interface IClientAPI | 390 | public interface IClientAPI |
332 | { | 391 | { |
333 | Vector3 StartPos { get; set; } | 392 | Vector3 StartPos { get; set; } |
@@ -793,6 +852,13 @@ namespace OpenSim.Framework | |||
793 | void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt); | 852 | void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt); |
794 | 853 | ||
795 | void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data); | 854 | void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data); |
855 | void SendDirPeopleReply(UUID queryID, DirPeopleReplyData[] data); | ||
856 | void SendDirEventsReply(UUID queryID, DirEventsReplyData[] data); | ||
857 | void SendDirGroupsReply(UUID queryID, DirGroupsReplyData[] data); | ||
858 | void SendDirClassifiedReply(UUID queryID, DirClassifiedReplyData[] data); | ||
859 | void SendDirLandReply(UUID queryID, DirLandReplyData[] data); | ||
860 | void SendDirPopularReply(UUID queryID, DirPopularReplyData[] data); | ||
861 | |||
796 | 862 | ||
797 | void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags); | 863 | void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags); |
798 | 864 | ||