diff options
author | mingchen | 2007-06-07 14:23:19 +0000 |
---|---|---|
committer | mingchen | 2007-06-07 14:23:19 +0000 |
commit | f88a4777f9e9b23795aed5a7f364a93a73e9ed15 (patch) | |
tree | 7acf567aed35932ae0bcc5410698379bbb6087c0 /OpenSim/OpenSim.RegionServer/world/SceneObject.cs | |
parent | *When avatar crosses parcel, it updates successfully in the viewer (diff) | |
download | opensim-SC_OLD-f88a4777f9e9b23795aed5a7f364a93a73e9ed15.zip opensim-SC_OLD-f88a4777f9e9b23795aed5a7f364a93a73e9ed15.tar.gz opensim-SC_OLD-f88a4777f9e9b23795aed5a7f364a93a73e9ed15.tar.bz2 opensim-SC_OLD-f88a4777f9e9b23795aed5a7f364a93a73e9ed15.tar.xz |
*Cleaned up namespaces, filenames, etc in OpenSim.RegionServer
NOTES:
*ClientView is now in the namespace OpenSim.RegionServer.Client
*Scripting is now in the namespace OpenSim.RegionServer.scripting
*Other various cleaning
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/world/SceneObject.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/world/SceneObject.cs | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/OpenSim/OpenSim.RegionServer/world/SceneObject.cs b/OpenSim/OpenSim.RegionServer/world/SceneObject.cs deleted file mode 100644 index 73adf87..0000000 --- a/OpenSim/OpenSim.RegionServer/world/SceneObject.cs +++ /dev/null | |||
@@ -1,104 +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.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 | |||
39 | namespace OpenSim.world | ||
40 | { | ||
41 | public class SceneObject : Entity | ||
42 | { | ||
43 | private LLUUID rootUUID; | ||
44 | private Dictionary<LLUUID, Primitive2> ChildPrimitives = new Dictionary<LLUUID, Primitive2>(); | ||
45 | private Dictionary<uint, ClientView> m_clientThreads; | ||
46 | private World m_world; | ||
47 | |||
48 | public SceneObject() | ||
49 | { | ||
50 | |||
51 | } | ||
52 | |||
53 | public void CreateFromPacket(ObjectAddPacket addPacket, LLUUID agentID, uint localID) | ||
54 | { | ||
55 | } | ||
56 | |||
57 | public void CreateFromBytes(byte[] data) | ||
58 | { | ||
59 | |||
60 | } | ||
61 | |||
62 | public override void update() | ||
63 | { | ||
64 | |||
65 | } | ||
66 | |||
67 | public override void BackUp() | ||
68 | { | ||
69 | |||
70 | } | ||
71 | |||
72 | public void GetProperites(ClientView client) | ||
73 | { | ||
74 | /* | ||
75 | ObjectPropertiesPacket proper = new ObjectPropertiesPacket(); | ||
76 | proper.ObjectData = new ObjectPropertiesPacket.ObjectDataBlock[1]; | ||
77 | proper.ObjectData[0] = new ObjectPropertiesPacket.ObjectDataBlock(); | ||
78 | proper.ObjectData[0].ItemID = LLUUID.Zero; | ||
79 | proper.ObjectData[0].CreationDate = (ulong)this.primData.CreationDate; | ||
80 | proper.ObjectData[0].CreatorID = this.primData.OwnerID; | ||
81 | proper.ObjectData[0].FolderID = LLUUID.Zero; | ||
82 | proper.ObjectData[0].FromTaskID = LLUUID.Zero; | ||
83 | proper.ObjectData[0].GroupID = LLUUID.Zero; | ||
84 | proper.ObjectData[0].InventorySerial = 0; | ||
85 | proper.ObjectData[0].LastOwnerID = LLUUID.Zero; | ||
86 | proper.ObjectData[0].ObjectID = this.uuid; | ||
87 | proper.ObjectData[0].OwnerID = primData.OwnerID; | ||
88 | proper.ObjectData[0].TouchName = new byte[0]; | ||
89 | proper.ObjectData[0].TextureID = new byte[0]; | ||
90 | proper.ObjectData[0].SitName = new byte[0]; | ||
91 | proper.ObjectData[0].Name = new byte[0]; | ||
92 | proper.ObjectData[0].Description = new byte[0]; | ||
93 | proper.ObjectData[0].OwnerMask = this.primData.OwnerMask; | ||
94 | proper.ObjectData[0].NextOwnerMask = this.primData.NextOwnerMask; | ||
95 | proper.ObjectData[0].GroupMask = this.primData.GroupMask; | ||
96 | proper.ObjectData[0].EveryoneMask = this.primData.EveryoneMask; | ||
97 | proper.ObjectData[0].BaseMask = this.primData.BaseMask; | ||
98 | |||
99 | client.OutPacket(proper); | ||
100 | * */ | ||
101 | } | ||
102 | |||
103 | } | ||
104 | } | ||