mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Sync OpenSim/Region/ScriptEngine/{Common,Shared}/LSL_Types.cs.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user