SellAgent
The SellAgent class allow you to interect with; SellAgent, via scripting.
Table of Contents
Methods
BagRead
Syntax:
SellAgent.BagRead(listName)Read; sell bag for a specific SellAgent list.
Parameters:
listName(String)
Returns:
Int32ChangeList
Syntax:
SellAgent.ChangeList(listName)Parameters:
listName(String)
Returns:
VoidClearList
Syntax:
SellAgent.ClearList(listName)Clear all items from a SellAgent list.
Parameters:
listName(String)
Returns:
VoidDisable
Syntax:
SellAgent.Disable()Returns:
VoidEnable
Syntax:
SellAgent.Enable()Returns:
VoidItemInsert
Syntax:
SellAgent.ItemInsert(listName, item)Insert an item into a SellAgent list.
Parameters:
listName(String)item(SellAgent.SellAgentItem)
Returns:
VoidItemInsertFromImport
Syntax:
SellAgent.ItemInsertFromImport(listName, itemlist)Parameters:
listName(String)itemlist(List[SellAgent.SellAgentItem])
Returns:
VoidItemsRead
Syntax:
SellAgent.ItemsRead(listName)Read items from a SellAgent list.
Parameters:
listName(String)
Returns:
List[SellAgent.SellAgentItem]ListDelete
Syntax:
SellAgent.ListDelete(description)Delete a SellAgent list from persistence.
Parameters:
description(String)
Returns:
VoidListExists
Syntax:
SellAgent.ListExists(description)Check if a SellAgent list exists by name.
Parameters:
description(String)
Returns:
BooleanListInsert
Syntax:
SellAgent.ListInsert(description, bag)Insert a new SellAgent list into persistence.
Parameters:
description(String)bag(Int32)
Returns:
VoidListsRead
Syntax:
SellAgent.ListsRead()Read all SellAgent lists from persistence.
Returns:
List[SellAgent.SellAgentList]OnVendorSell
Syntax:
SellAgent.OnVendorSell(pvSrc, args)Parameters:
pvSrc(PacketReader)args(PacketHandlerEventArgs)
Returns:
VoidSetBag
Syntax:
SellAgent.SetBag()Initiate targeting to set the sell bag for the active list.
Returns:
VoidStatus
Syntax:
SellAgent.Status()Returns:
Boolean