add LinksetData support. Untested and still does not store in dbs. Not as spec. See mantis 9081 (runprebuild)

This commit is contained in:
UbitUmarov
2024-02-06 23:45:11 +00:00
parent 00e9e3c77a
commit 2e26b8a8bb
12 changed files with 621 additions and 95 deletions

View File

@@ -537,8 +537,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
public const int PRIM_PHYSICS_SHAPE_CONVEX = 2;
// PRIM_REFLECTION_PROBE flags
public const int PRIM_REFLECTION_PROBE_BOX = 1 << 0; // 1
public const int PRIM_REFLECTION_PROBE_DYNAMIC = 1 << 1; // 2
public const int PRIM_REFLECTION_PROBE_BOX = 1; // 1
public const int PRIM_REFLECTION_PROBE_DYNAMIC = 2; // 2
public const int PROFILE_NONE = 0;
public const int PROFILE_SCRIPT_MEMORY = 1;
@@ -1030,6 +1030,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
public const int LINKSETDATA_RESET = 0;
public const int LINKSETDATA_UPDATE = 1;
public const int LINKSETDATA_DELETE = 2;
public const int LINKSETDATA_MULTIDELETE = 3;
public const int LINKSETDATA_OK = 0;
public const int LINKSETDATA_EMEMORY = 1;

View File

@@ -2706,5 +2706,83 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
{
return m_LSL_Functions.llsRGB2Linear(src);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_Integer llLinksetDataAvailable()
{
return m_LSL_Functions.llLinksetDataAvailable();
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_Integer llLinksetDataCountKeys()
{
return m_LSL_Functions.llLinksetDataCountKeys();
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_String llLinksetDataRead(LSL_String name)
{
return m_LSL_Functions.llLinksetDataRead(name);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_String llLinksetDataReadProtected(LSL_String name, LSL_String pass)
{
return m_LSL_Functions.llLinksetDataReadProtected(name, pass);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_Integer llLinksetDataDelete(LSL_String name)
{
return m_LSL_Functions.llLinksetDataDelete(name);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_Integer llLinksetDataDeleteProtected(LSL_String name, LSL_String pass)
{
return m_LSL_Functions.llLinksetDataDeleteProtected(name, pass);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void llLinksetDataReset()
{
m_LSL_Functions.llLinksetDataReset();
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_Integer llLinksetDataWrite(LSL_String name, LSL_String value)
{
return m_LSL_Functions.llLinksetDataWrite(name, value);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_Integer llLinksetDataWriteProtected(LSL_String name, LSL_String value, LSL_String pass)
{
return m_LSL_Functions.llLinksetDataWriteProtected(name, value, pass);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_List llLinksetDataDeleteFound(LSL_String pattern, LSL_String pass)
{
return m_LSL_Functions.llLinksetDataDeleteFound(pattern, pass);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_Integer llLinksetDataCountFound(LSL_String pattern)
{
return m_LSL_Functions.llLinksetDataCountFound(pattern);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_List llLinksetDataListKeys(LSL_Integer start, LSL_Integer count)
{
return m_LSL_Functions.llLinksetDataListKeys(start, count);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_List llLinksetDataFindKeys(LSL_String pattern, LSL_Integer start, LSL_Integer count)
{
return m_LSL_Functions.llLinksetDataFindKeys(pattern, start, count);
}
}
}