From 04cf04600c01f2cb328847133430f777bc7f1a7c Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 11 Sep 2007 14:18:34 +0000 Subject: Applied ldvoipeng's patch [#360], sorry for it taking so long to apply it. If in future anyone's patch hasn't been applied within a few days, please can someone kick one of the developers with svn access. --- .../Environment/Scenes/Scripting/IScriptHost.cs | 4 ++++ .../Environment/Scenes/Scripting/NullScriptHost.cs | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes/Scripting') diff --git a/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs b/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs index e7d0570..2f248ce 100644 --- a/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs +++ b/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs @@ -8,8 +8,12 @@ namespace OpenSim.Region.Environment.Scenes.Scripting public interface IScriptHost { string Name { get; set;} + string SitName{ get; set;} + string TouchName { get; set;} + string Description { get; set; } LLUUID UUID { get; } LLUUID ObjectOwner { get;} + LLUUID ObjectCreator { get; } LLVector3 AbsolutePosition { get; } void SetText(string text, Axiom.Math.Vector3 color, double alpha); } diff --git a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs index a50b142..5e3dcae 100644 --- a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs +++ b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs @@ -15,6 +15,24 @@ namespace OpenSim.Region.Environment.Scenes.Scripting set { } } + public string SitName + { + get { return ""; } + set { } + } + + public string TouchName + { + get { return ""; } + set { } + } + + public string Description + { + get { return ""; } + set { } + } + public LLUUID UUID { get { return LLUUID.Zero; } @@ -23,6 +41,8 @@ namespace OpenSim.Region.Environment.Scenes.Scripting public LLUUID ObjectOwner { get { return LLUUID.Zero; } } + public LLUUID ObjectCreator { get { return LLUUID.Zero; } } + public LLVector3 AbsolutePosition { get { return m_pos; } -- cgit v1.1