diff options
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/ClientView')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/ClientView/ClientView.Grid.cs | 59 | ||||
-rw-r--r-- | OpenSim/OpenSim.RegionServer/ClientView/ClientView.PacketHandlers.cs | 29 |
2 files changed, 29 insertions, 59 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView/ClientView.Grid.cs b/OpenSim/OpenSim.RegionServer/ClientView/ClientView.Grid.cs deleted file mode 100644 index ae4c066..0000000 --- a/OpenSim/OpenSim.RegionServer/ClientView/ClientView.Grid.cs +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.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 | */ | ||
28 | using System; | ||
29 | using System.Collections; | ||
30 | using System.Collections.Generic; | ||
31 | using libsecondlife; | ||
32 | using libsecondlife.Packets; | ||
33 | using Nwc.XmlRpc; | ||
34 | using System.Net; | ||
35 | using System.Net.Sockets; | ||
36 | using System.IO; | ||
37 | using System.Threading; | ||
38 | using System.Timers; | ||
39 | using OpenSim.Framework.Interfaces; | ||
40 | using OpenSim.Framework.Types; | ||
41 | using OpenSim.Framework.Inventory; | ||
42 | using OpenSim.Framework.Utilities; | ||
43 | using OpenSim.Assets; | ||
44 | |||
45 | namespace OpenSim | ||
46 | { | ||
47 | public partial class ClientView | ||
48 | { | ||
49 | |||
50 | public void EnableNeighbours() | ||
51 | { | ||
52 | |||
53 | } | ||
54 | |||
55 | public void CrossSimBorder(LLVector3 avatarpos) | ||
56 | { | ||
57 | } | ||
58 | } | ||
59 | } | ||
diff --git a/OpenSim/OpenSim.RegionServer/ClientView/ClientView.PacketHandlers.cs b/OpenSim/OpenSim.RegionServer/ClientView/ClientView.PacketHandlers.cs index d35868e..035eb4c 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView/ClientView.PacketHandlers.cs +++ b/OpenSim/OpenSim.RegionServer/ClientView/ClientView.PacketHandlers.cs | |||
@@ -189,5 +189,34 @@ namespace OpenSim | |||
189 | } | 189 | } |
190 | this.OutPacket(mbReply); | 190 | this.OutPacket(mbReply); |
191 | } | 191 | } |
192 | |||
193 | protected PrimData CreatePrimFromObjectAdd(ObjectAddPacket addPacket) | ||
194 | { | ||
195 | PrimData PData = new PrimData(); | ||
196 | PData.CreationDate = (Int32)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds; | ||
197 | PData.PCode = addPacket.ObjectData.PCode; | ||
198 | PData.PathBegin = addPacket.ObjectData.PathBegin; | ||
199 | PData.PathEnd = addPacket.ObjectData.PathEnd; | ||
200 | PData.PathScaleX = addPacket.ObjectData.PathScaleX; | ||
201 | PData.PathScaleY = addPacket.ObjectData.PathScaleY; | ||
202 | PData.PathShearX = addPacket.ObjectData.PathShearX; | ||
203 | PData.PathShearY = addPacket.ObjectData.PathShearY; | ||
204 | PData.PathSkew = addPacket.ObjectData.PathSkew; | ||
205 | PData.ProfileBegin = addPacket.ObjectData.ProfileBegin; | ||
206 | PData.ProfileEnd = addPacket.ObjectData.ProfileEnd; | ||
207 | PData.Scale = addPacket.ObjectData.Scale; | ||
208 | PData.PathCurve = addPacket.ObjectData.PathCurve; | ||
209 | PData.ProfileCurve = addPacket.ObjectData.ProfileCurve; | ||
210 | PData.ParentID = 0; | ||
211 | PData.ProfileHollow = addPacket.ObjectData.ProfileHollow; | ||
212 | PData.PathRadiusOffset = addPacket.ObjectData.PathRadiusOffset; | ||
213 | PData.PathRevolutions = addPacket.ObjectData.PathRevolutions; | ||
214 | PData.PathTaperX = addPacket.ObjectData.PathTaperX; | ||
215 | PData.PathTaperY = addPacket.ObjectData.PathTaperY; | ||
216 | PData.PathTwist = addPacket.ObjectData.PathTwist; | ||
217 | PData.PathTwistBegin = addPacket.ObjectData.PathTwistBegin; | ||
218 | |||
219 | return PData; | ||
220 | } | ||
192 | } | 221 | } |
193 | } | 222 | } |