aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorTeravus Ovares2008-10-06 00:00:55 +0000
committerTeravus Ovares2008-10-06 00:00:55 +0000
commitf8acdeb437ff18762399c519e2416aceb2149609 (patch)
treec24f4290f54c47010e61a8e071273bde0a2877fc /OpenSim/Framework
parentFor symmetry reasons, I think this probably is a bug. (diff)
downloadopensim-SC-f8acdeb437ff18762399c519e2416aceb2149609.zip
opensim-SC-f8acdeb437ff18762399c519e2416aceb2149609.tar.gz
opensim-SC-f8acdeb437ff18762399c519e2416aceb2149609.tar.bz2
opensim-SC-f8acdeb437ff18762399c519e2416aceb2149609.tar.xz
* Green dots on the mainmap for avatar.
* Initial implementation * You'll only be able to seen green dots on regions on the map that have been updated.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/IClientAPI.cs9
-rw-r--r--OpenSim/Framework/MapItemReplyStruct.cs42
2 files changed, 51 insertions, 0 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index c0d133e..7095387 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -310,6 +310,9 @@ namespace OpenSim.Framework
310 public delegate void TerrainUnacked(IClientAPI remoteClient, int patchX, int patchY); 310 public delegate void TerrainUnacked(IClientAPI remoteClient, int patchX, int patchY);
311 311
312 public delegate void DirPlacesQuery(IClientAPI remoteClient, UUID queryID, string queryText, int queryFlags, int category, string simName, int queryStart); 312 public delegate void DirPlacesQuery(IClientAPI remoteClient, UUID queryID, string queryText, int queryFlags, int category, string simName, int queryStart);
313
314 public delegate void MapItemRequest(IClientAPI remoteClient, uint flags, uint EstateID, bool godlike, uint itemtype, ulong regionhandle);
315
313 #endregion 316 #endregion
314 317
315 public struct DirPlacesReplyData 318 public struct DirPlacesReplyData
@@ -546,6 +549,9 @@ namespace OpenSim.Framework
546 549
547 event DirPlacesQuery OnDirPlacesQuery; 550 event DirPlacesQuery OnDirPlacesQuery;
548 551
552 event MapItemRequest OnMapItemRequest;
553
554
549 // void ActivateGesture(UUID assetId, UUID gestureId); 555 // void ActivateGesture(UUID assetId, UUID gestureId);
550 556
551 // [Obsolete("IClientAPI.OutPacket SHOULD NOT EXIST outside of LLClientView please refactor appropriately.")] 557 // [Obsolete("IClientAPI.OutPacket SHOULD NOT EXIST outside of LLClientView please refactor appropriately.")]
@@ -775,6 +781,9 @@ namespace OpenSim.Framework
775 void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt); 781 void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt);
776 782
777 void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data); 783 void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data);
784
785 void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags);
786
778 void KillEndDone(); 787 void KillEndDone();
779 } 788 }
780} 789}
diff --git a/OpenSim/Framework/MapItemReplyStruct.cs b/OpenSim/Framework/MapItemReplyStruct.cs
new file mode 100644
index 0000000..f088085
--- /dev/null
+++ b/OpenSim/Framework/MapItemReplyStruct.cs
@@ -0,0 +1,42 @@
1/*
2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of the OpenSim Project nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28using System;
29using OpenMetaverse;
30
31namespace OpenSim.Framework
32{
33 public struct mapItemReply
34 {
35 public uint x;
36 public uint y;
37 public UUID id;
38 public int Extra;
39 public int Extra2;
40 public string name;
41 }
42}