I wrote a inventory wrapper similar to
DetectedEvent
. Maybe something like it should be a builtin:
  • It wraps all the generic inventory functions.
  • It does inventory iteration, both forward and backward (required if removing inventory during iteration)
It does not wrap the multiple inventory functions:
  • ll.GiveInventoryList
  • ll.GiveAgentInventory
It does not wrap the functions specific to an asset type:
It does not wrap the rumored upcoming
llGetLinkInventory
because they don't exist yet