diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-08-21 20:43:38 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-08-21 20:43:38 +0300 |
commit | 86eec90d97c03ac0f6be8897041185c6b5601968 (patch) | |
tree | 24d803ba148294fda58a63847e763dfec648600b /indra/newview/scripts/lua/require | |
parent | 3cef79d979f2d21c29d17d123d6c166b9f7e7e0e (diff) |
Add item limit for collectDescendentsIf func; add demo script
Diffstat (limited to 'indra/newview/scripts/lua/require')
-rw-r--r-- | indra/newview/scripts/lua/require/LLInventory.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/scripts/lua/require/LLInventory.lua b/indra/newview/scripts/lua/require/LLInventory.lua index e6a347532b..b3f817da94 100644 --- a/indra/newview/scripts/lua/require/LLInventory.lua +++ b/indra/newview/scripts/lua/require/LLInventory.lua @@ -36,9 +36,10 @@ end -- [, name] -- name (substring) -- [, desc] -- description (substring) -- [, type] -- asset type +-- [, item_limit] -- item count limit in reply, maximum and default is 100 -- [, filter_links]} -- EXCLUDE_LINKS - don't show links, ONLY_LINKS - only show links, INCLUDE_LINKS - show links too (default) function LLInventory.collectDescendentsIf(...) - local args = mapargs('folder_id,name,desc,type,filter_links', ...) + local args = mapargs('folder_id,name,desc,type,filter_links,item_limit', ...) args.op = 'collectDescendentsIf' return leap.request('LLInventory', args) end |