diff options
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/Simulator/SceneObject.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/Simulator/SceneObject.cs | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/OpenSim/OpenSim.RegionServer/Simulator/SceneObject.cs b/OpenSim/OpenSim.RegionServer/Simulator/SceneObject.cs deleted file mode 100644 index ce2b50d..0000000 --- a/OpenSim/OpenSim.RegionServer/Simulator/SceneObject.cs +++ /dev/null | |||
@@ -1,102 +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.Generic; | ||
30 | using System.Text; | ||
31 | using OpenSim.RegionServer.Types; | ||
32 | using libsecondlife; | ||
33 | using libsecondlife.Packets; | ||
34 | using OpenSim.Framework.Interfaces; | ||
35 | using OpenSim.Physics.Manager; | ||
36 | using OpenSim.Framework.Types; | ||
37 | using OpenSim.Framework.Inventory; | ||
38 | using OpenSim.RegionServer.Client; | ||
39 | |||
40 | namespace OpenSim.RegionServer.Simulator | ||
41 | { | ||
42 | public class SceneObject : Entity | ||
43 | { | ||
44 | private Dictionary<LLUUID, Primitive2> ChildPrimitives = new Dictionary<LLUUID, Primitive2>(); | ||
45 | |||
46 | public SceneObject() | ||
47 | { | ||
48 | |||
49 | } | ||
50 | |||
51 | public void CreateFromPacket(ObjectAddPacket addPacket, LLUUID agentID, uint localID) | ||
52 | { | ||
53 | } | ||
54 | |||
55 | public void CreateFromBytes(byte[] data) | ||
56 | { | ||
57 | |||
58 | } | ||
59 | |||
60 | public override void update() | ||
61 | { | ||
62 | |||
63 | } | ||
64 | |||
65 | public override void BackUp() | ||
66 | { | ||
67 | |||
68 | } | ||
69 | |||
70 | public void GetProperites(ClientView client) | ||
71 | { | ||
72 | /* | ||
73 | ObjectPropertiesPacket proper = new ObjectPropertiesPacket(); | ||
74 | proper.ObjectData = new ObjectPropertiesPacket.ObjectDataBlock[1]; | ||
75 | proper.ObjectData[0] = new ObjectPropertiesPacket.ObjectDataBlock(); | ||
76 | proper.ObjectData[0].ItemID = LLUUID.Zero; | ||
77 | proper.ObjectData[0].CreationDate = (ulong)this.primData.CreationDate; | ||
78 | proper.ObjectData[0].CreatorID = this.primData.OwnerID; | ||
79 | proper.ObjectData[0].FolderID = LLUUID.Zero; | ||
80 | proper.ObjectData[0].FromTaskID = LLUUID.Zero; | ||
81 | proper.ObjectData[0].GroupID = LLUUID.Zero; | ||
82 | proper.ObjectData[0].InventorySerial = 0; | ||
83 | proper.ObjectData[0].LastOwnerID = LLUUID.Zero; | ||
84 | proper.ObjectData[0].ObjectID = this.uuid; | ||
85 | proper.ObjectData[0].OwnerID = primData.OwnerID; | ||
86 | proper.ObjectData[0].TouchName = new byte[0]; | ||
87 | proper.ObjectData[0].TextureID = new byte[0]; | ||
88 | proper.ObjectData[0].SitName = new byte[0]; | ||
89 | proper.ObjectData[0].Name = new byte[0]; | ||
90 | proper.ObjectData[0].Description = new byte[0]; | ||
91 | proper.ObjectData[0].OwnerMask = this.primData.OwnerMask; | ||
92 | proper.ObjectData[0].NextOwnerMask = this.primData.NextOwnerMask; | ||
93 | proper.ObjectData[0].GroupMask = this.primData.GroupMask; | ||
94 | proper.ObjectData[0].EveryoneMask = this.primData.EveryoneMask; | ||
95 | proper.ObjectData[0].BaseMask = this.primData.BaseMask; | ||
96 | |||
97 | client.OutPacket(proper); | ||
98 | * */ | ||
99 | } | ||
100 | |||
101 | } | ||
102 | } | ||