Gumps

Methods

Gumps.CloseGump(gumpid)Void
  • gumpid: UInt32 ID of the gump

Close a specific Gump.

Gumps.CurrentGump()UInt32

Return the ID of most recent, still open Gump.

Gumps.HasGump()Boolean

Get status if have a gump open or not.

Gumps.LastGumpGetLine(line_num)String
  • line_num: Int32 Number of the line.

Get a specific line from the most recent and still open Gump. Filter by line number.

Gumps.LastGumpGetLineList()List[String]

Get all text from the most recent and still open Gump.

Gumps.LastGumpRawData()String

Get the Raw Data of the most recent and still open Gump.

Gumps.LastGumpRawText()List[String]

Get the Raw Text of the most recent and still open Gump.

Gumps.LastGumpTextExist(text)Boolean
  • text: String Text to search.

Search for text inside the most recent and still open Gump.

Gumps.LastGumpTextExistByLine(line_num, text)Boolean
  • line_num: Int32 Number of the line.

  • text: String Text to search.

Search for text, in a spacific line of the most recent and still open Gump.

Gumps.LastGumpTile()List[Int32]

Get the list of Gump Tile (! this documentation is a stub !)

Gumps.ResetGump()Void

Clean current status of Gumps.

Gumps.SendAction(gumpid, buttonid)Void
  • gumpid: UInt32 ID of the gump.

  • buttonid: Int32 ID of the Button to press.

Send a Gump response by gumpid and buttonid.

Gumps.SendAdvancedAction(gumpid, buttonid, switchlist_id, textlist_id, textlist_str)Void
  • gumpid: UInt32

  • buttonid: Int32

  • switchlist_id: List[Int32]

  • textlist_id: List[Int32]

  • textlist_str: List[String]

Gumps.SendAdvancedAction(gumpid, buttonid, textlist_id, textlist_str)Void
  • gumpid: UInt32

  • buttonid: Int32

  • textlist_id: List[Int32]

  • textlist_str: List[String]

Gumps.SendAdvancedAction(gumpid, buttonid, switchs)Void
  • gumpid: UInt32

  • buttonid: Int32

  • switchs: List[Int32]

Gumps.WaitForGump(gumpid, delay)Void
  • gumpid: UInt32 ID of the gump. (0: any)

  • delay: Int32 Maximum wait, in milliseconds.

Waits for a specific Gump to appear, for a maximum amount of time. If gumpid is 0 it will match any Gump.