AutoLoot
The Autoloot class allow to interact with the Autoloot Agent, via scripting.
Table of Contents
Methods
AddItemByTarget
AutoLoot.AddItemByTarget()Initiate targeting to add an item to the active list.
VoidChangeList
AutoLoot.ChangeList(listName)Change the Autoloot's active list.
listName(String): Name of an existing organizer list.
VoidClearCorpseCache
AutoLoot.ClearCorpseCache()Public method to force clear the recently looted corpses cache. Called when autoloot configuration is modified.
VoidClearList
AutoLoot.ClearList(listName)Clear all items from an AutoLoot list.
listName(String)
VoidGetList
AutoLoot.GetList(lootListName, wantMinusOnes)Given an AutoLoot list name, return a list of AutoLootItem associated.
lootListName(String): Name of the AutoLoot list.wantMinusOnes(Boolean)
List[AutoLoot.AutoLootItem]GetLootBag
AutoLoot.GetLootBag()Get current Autoloot destination container.
UInt32ItemInsert
AutoLoot.ItemInsert(listName, item)Insert an item into an AutoLoot list.
listName(String)item(AutoLoot.AutoLootItem)
VoidItemsRead
AutoLoot.ItemsRead(list, includedLists, expand)list(String)includedLists(IEnumerable[String])expand(Boolean)
Dictionary[Int32, List[AutoLoot.AutoLootItem]]ListDelete
AutoLoot.ListDelete(description)Delete an AutoLoot list from persistence.
description(String)
VoidListDetailsRead
AutoLoot.ListDetailsRead(listname, bag, noopencorpse, range)listname(String)bag(Int32&@)noopencorpse(Boolean&@)range(Int32&@)
VoidListExists
AutoLoot.ListExists(description)Check if an AutoLoot list exists by name.
description(String)
BooleanListInsert
AutoLoot.ListInsert(description, bag, noopencorpse, maxrange)Insert a new AutoLoot list into persistence.
description(String)bag(Int32)noopencorpse(Boolean)maxrange(Int32)
VoidListsRead
AutoLoot.ListsRead()Read all AutoLoot lists from persistence.
List[AutoLoot.AutoLootList]ResetIgnore
AutoLoot.ResetIgnore()Reset the Autoloot ignore list.
VoidRunOnce
AutoLoot.RunOnce(lootListName, millisec, filter)Start Autoloot with custom parameters.
lootListName(String): Name of the Autoloot listfilter for search on ground.millisec(Int32): Delay in milliseconds. (unused)filter(Items.Filter): Item filter
VoidSetBag
AutoLoot.SetBag()Initiate targeting to set the loot bag for the active list.
VoidSetNoOpenCorpse
AutoLoot.SetNoOpenCorpse(noOpen)Toggle "No Open Corpse" on/off. The change doesn't persist if you reopen the assistant.
noOpen(Boolean): True: "No Open Corpse" is active - False: otherwise
BooleanStart
AutoLoot.Start()Start the Autoloot Agent on the currently active list.
VoidStatus
AutoLoot.Status()Check Autoloot Agent status
BooleanStop
AutoLoot.Stop()Stop the Autoloot Agent.
Void