add llOrd, llChar llHash

This commit is contained in:
UbitUmarov
2021-10-02 14:17:11 +01:00
parent a5b417fca1
commit 68efbfc603
5 changed files with 312 additions and 83 deletions

View File

@@ -35,7 +35,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
public partial class ScriptBaseClass
{
// SCRIPTS CONSTANTS
public static readonly LSLInteger OS_APIVERSION = 18;
public static readonly LSLInteger OS_APIVERSION = 19;
public static readonly LSLInteger TRUE = 1;
public static readonly LSLInteger FALSE = 0;

View File

@@ -2182,5 +2182,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
{
return m_LSL_Functions.llGetRegionMoonRotation();
}
public LSL_String llChar(LSL_Integer unicode)
{
return m_LSL_Functions.llChar(unicode);
}
public LSL_Integer llOrd(LSL_String s, LSL_Integer index)
{
return m_LSL_Functions.llOrd(s, index);
}
public LSL_Integer llHash(LSL_String s)
{
return m_LSL_Functions.llHash(s);
}
}
}