aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Reg/SceneObject.cs
diff options
context:
space:
mode:
authorMW2007-06-10 12:28:41 +0000
committerMW2007-06-10 12:28:41 +0000
commit9f25f70b248c37f9b112a83094cb471f2dbd31b2 (patch)
tree805ff84e93795865c74dada2e12f13c88af9fef3 /OpenSim/OpenSim.Reg/SceneObject.cs
parentRenamed folder (diff)
downloadopensim-SC_OLD-9f25f70b248c37f9b112a83094cb471f2dbd31b2.zip
opensim-SC_OLD-9f25f70b248c37f9b112a83094cb471f2dbd31b2.tar.gz
opensim-SC_OLD-9f25f70b248c37f9b112a83094cb471f2dbd31b2.tar.bz2
opensim-SC_OLD-9f25f70b248c37f9b112a83094cb471f2dbd31b2.tar.xz
Messed up the renaming of the folder, so part one of the fix
Diffstat (limited to 'OpenSim/OpenSim.Reg/SceneObject.cs')
-rw-r--r--OpenSim/OpenSim.Reg/SceneObject.cs100
1 files changed, 100 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.Reg/SceneObject.cs b/OpenSim/OpenSim.Reg/SceneObject.cs
new file mode 100644
index 0000000..9ea631b
--- /dev/null
+++ b/OpenSim/OpenSim.Reg/SceneObject.cs
@@ -0,0 +1,100 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenSim.Region.types;
5using libsecondlife;
6using libsecondlife.Packets;
7using OpenSim.Framework.Interfaces;
8using OpenSim.Physics.Manager;
9using OpenSim.Framework.Types;
10using OpenSim.Framework.Inventory;
11
12namespace OpenSim.Region
13{
14 public class SceneObject : Entity
15 {
16 private LLUUID rootUUID;
17 private Dictionary<LLUUID, Primitive> ChildPrimitives = new Dictionary<LLUUID, Primitive>();
18 private Dictionary<uint, IClientAPI> m_clientThreads;
19 private World m_world;
20
21 /// <summary>
22 ///
23 /// </summary>
24 public SceneObject()
25 {
26
27 }
28
29 /// <summary>
30 ///
31 /// </summary>
32 /// <param name="addPacket"></param>
33 /// <param name="agentID"></param>
34 /// <param name="localID"></param>
35 public void CreateFromPacket(ObjectAddPacket addPacket, LLUUID agentID, uint localID)
36 {
37 }
38
39 /// <summary>
40 ///
41 /// </summary>
42 /// <param name="data"></param>
43 public void CreateFromBytes(byte[] data)
44 {
45
46 }
47
48 /// <summary>
49 ///
50 /// </summary>
51 public override void update()
52 {
53
54 }
55
56 /// <summary>
57 ///
58 /// </summary>
59 public override void BackUp()
60 {
61
62 }
63
64 /// <summary>
65 ///
66 /// </summary>
67 /// <param name="client"></param>
68 public void GetProperites(IClientAPI client)
69 {
70 /*
71 ObjectPropertiesPacket proper = new ObjectPropertiesPacket();
72 proper.ObjectData = new ObjectPropertiesPacket.ObjectDataBlock[1];
73 proper.ObjectData[0] = new ObjectPropertiesPacket.ObjectDataBlock();
74 proper.ObjectData[0].ItemID = LLUUID.Zero;
75 proper.ObjectData[0].CreationDate = (ulong)this.primData.CreationDate;
76 proper.ObjectData[0].CreatorID = this.primData.OwnerID;
77 proper.ObjectData[0].FolderID = LLUUID.Zero;
78 proper.ObjectData[0].FromTaskID = LLUUID.Zero;
79 proper.ObjectData[0].GroupID = LLUUID.Zero;
80 proper.ObjectData[0].InventorySerial = 0;
81 proper.ObjectData[0].LastOwnerID = LLUUID.Zero;
82 proper.ObjectData[0].ObjectID = this.uuid;
83 proper.ObjectData[0].OwnerID = primData.OwnerID;
84 proper.ObjectData[0].TouchName = new byte[0];
85 proper.ObjectData[0].TextureID = new byte[0];
86 proper.ObjectData[0].SitName = new byte[0];
87 proper.ObjectData[0].Name = new byte[0];
88 proper.ObjectData[0].Description = new byte[0];
89 proper.ObjectData[0].OwnerMask = this.primData.OwnerMask;
90 proper.ObjectData[0].NextOwnerMask = this.primData.NextOwnerMask;
91 proper.ObjectData[0].GroupMask = this.primData.GroupMask;
92 proper.ObjectData[0].EveryoneMask = this.primData.EveryoneMask;
93 proper.ObjectData[0].BaseMask = this.primData.BaseMask;
94
95 client.OutPacket(proper);
96 * */
97 }
98
99 }
100}