aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
diff options
context:
space:
mode:
authorAdam Frisby2009-04-09 11:09:24 +0000
committerAdam Frisby2009-04-09 11:09:24 +0000
commitb529750548b74ae16c5b2e0f5393e2ef87626d50 (patch)
tree5307c3abb39a6c3766ebd73e6c831a95807a0e9f /OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
parent* Implements retrieving child primitives via World.Objects[id] (MRM) (diff)
downloadopensim-SC_OLD-b529750548b74ae16c5b2e0f5393e2ef87626d50.zip
opensim-SC_OLD-b529750548b74ae16c5b2e0f5393e2ef87626d50.tar.gz
opensim-SC_OLD-b529750548b74ae16c5b2e0f5393e2ef87626d50.tar.bz2
opensim-SC_OLD-b529750548b74ae16c5b2e0f5393e2ef87626d50.tar.xz
* Moves Name, GlobalID and WorldPosition into new IEntity interface.
* Avatar and Object now inherit from IEntity. * Avatar.Position is now Avatar.WorldPosition to match IObject property. * Implements event World.OnChat += delegate(IWorld sender, ChatEventArgs e);
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs18
1 files changed, 1 insertions, 17 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
index fd62328..dc2e3fa 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
@@ -48,7 +48,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
48 48
49 public delegate void OnTouchDelegate(IObject sender, TouchEventArgs e); 49 public delegate void OnTouchDelegate(IObject sender, TouchEventArgs e);
50 50
51 public interface IObject 51 public interface IObject : IEntity
52 { 52 {
53 #region Events 53 #region Events
54 54
@@ -92,17 +92,6 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
92 uint LocalID { get; } 92 uint LocalID { get; }
93 93
94 /// <summary> 94 /// <summary>
95 /// The global 'world-unique' ID for this object.
96 /// (Note, may not actually be world unique)
97 /// </summary>
98 UUID GlobalID { get; }
99
100 /// <summary>
101 /// The name of this Object.
102 /// </summary>
103 String Name { get; set; }
104
105 /// <summary>
106 /// The description assigned to this object. 95 /// The description assigned to this object.
107 /// </summary> 96 /// </summary>
108 String Description { get; set; } 97 String Description { get; set; }
@@ -141,11 +130,6 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
141 Quaternion OffsetRotation { get; set; } 130 Quaternion OffsetRotation { get; set; }
142 131
143 /// <summary> 132 /// <summary>
144 /// The position of the object relative to the Scene
145 /// </summary>
146 Vector3 WorldPosition { get; set; }
147
148 /// <summary>
149 /// The position of the object relative to a parent object 133 /// The position of the object relative to a parent object
150 /// If root, works the same as WorldPosition 134 /// If root, works the same as WorldPosition
151 /// </summary> 135 /// </summary>