Sync OpenSim/Region/ScriptEngine/{Common,Shared}/LSL_Types.cs.

This commit is contained in:
Mike Mazur
2008-08-19 05:30:10 +00:00
parent a513cba60b
commit 225067d8b6
2 changed files with 95 additions and 80 deletions

View File

@@ -1351,6 +1351,11 @@ namespace OpenSim.Region.ScriptEngine.Common
value = (int)d;
}
public LSLInteger(string s)
{
value = (int)double.Parse(s);
}
#endregion
#region Operators
@@ -1548,6 +1553,11 @@ namespace OpenSim.Region.ScriptEngine.Common
this.value = d;
}
public LSLFloat(string s)
{
this.value = double.Parse(s);
}
#endregion
#region Operators