add LSL_Integer osListFindListNext(LSL_List src, LSL_List test, LSL_Integer lstart, LSL_Integer lend, LSL_Integer instance), like ll one but with search restricted to a substring. Untested, sorry

This commit is contained in:
UbitUmarov
2025-04-04 01:30:41 +01:00
parent 9a02b55bf2
commit bde18322eb
5 changed files with 110 additions and 103 deletions

View File

@@ -629,5 +629,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
LSL_String osAESDecryptFrom(string secret, string encryptedText, string ivString);
vector osGetLinkColor(LSL_Integer linknum, LSL_Integer face);
vector osTemperature2sRGB(LSL_Float dtemp);
/// <summary>
/// osListFindListNext identical to llListFindListNext but with search limited to sublist from start to end (excluded)
/// </summary>
/// <param name="src">string to test for match</param>
/// <param name="test">string to use as pattern</param>
/// <param name="start">index of where to start search</param>
/// <param name="end">index of where to stop search.</param>
/// <param name="instance">number of match to return</param>
/// <returns>a integer with index of match point or -1</returns>
LSL_Integer osListFindListNext(LSL_List src, LSL_List test, LSL_Integer start, LSL_Integer end, LSL_Integer instance);
}
}