Patch from Ziah.

Mantis #4456: Patch to implement some minor MRM Functions : SitTarget,
SitTargetText, TouchText and Text
mysql-performance
Melanie 2009-12-21 14:46:07 +00:00
parent 27453890d5
commit de59910758
1 changed files with 32 additions and 8 deletions

View File

@ -258,26 +258,50 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
public Vector3 SitTarget public Vector3 SitTarget
{ {
get { throw new System.NotImplementedException(); } get { return GetSOP().SitTargetPosition; }
set { throw new System.NotImplementedException(); } set
{
if (CanEdit())
{
GetSOP().SitTargetPosition = value;
}
}
} }
public string SitTargetText public string SitTargetText
{ {
get { throw new System.NotImplementedException(); } get { return GetSOP().SitName; }
set { throw new System.NotImplementedException(); } set
{
if (CanEdit())
{
GetSOP().SitName = value;
}
}
} }
public string TouchText public string TouchText
{ {
get { throw new System.NotImplementedException(); } get { return GetSOP().TouchName; }
set { throw new System.NotImplementedException(); } set
{
if (CanEdit())
{
GetSOP().TouchName = value;
}
}
} }
public string Text public string Text
{ {
get { throw new System.NotImplementedException(); } get { return GetSOP().Text; }
set { throw new System.NotImplementedException(); } set
{
if (CanEdit())
{
GetSOP().SetText(value,new Vector3(1.0f,1.0f,1.0f),1.0f);
}
}
} }
public bool IsRotationLockedX public bool IsRotationLockedX