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: Int32

ChangeList

Syntax: SellAgent.ChangeList(listName)
Parameters:
  • listName (String)
Returns: Void

ClearList

Syntax: SellAgent.ClearList(listName)

Clear all items from a SellAgent list.

Parameters:
  • listName (String)
Returns: Void

Disable

Syntax: SellAgent.Disable()
Returns: Void

Enable

Syntax: SellAgent.Enable()
Returns: Void

ItemInsert

Syntax: SellAgent.ItemInsert(listName, item)

Insert an item into a SellAgent list.

Parameters:
  • listName (String)
  • item (SellAgent.SellAgentItem)
Returns: Void

ItemInsertFromImport

Syntax: SellAgent.ItemInsertFromImport(listName, itemlist)
Parameters:
  • listName (String)
  • itemlist (List[SellAgent.SellAgentItem])
Returns: Void

ItemsRead

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: Void

ListExists

Syntax: SellAgent.ListExists(description)

Check if a SellAgent list exists by name.

Parameters:
  • description (String)
Returns: Boolean

ListInsert

Syntax: SellAgent.ListInsert(description, bag)

Insert a new SellAgent list into persistence.

Parameters:
  • description (String)
  • bag (Int32)
Returns: Void

ListsRead

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: Void

SetBag

Syntax: SellAgent.SetBag()

Initiate targeting to set the sell bag for the active list.

Returns: Void

Status

Syntax: SellAgent.Status()
Returns: Boolean