Interface | Description |
---|---|
IAboutToChooseActionHandler |
Called before IActionHandler#chooseAction is about to be triggered.
|
IActionChosenHandler |
Called with the action that was chosen in response to
IActionHandler.chooseAction(bothack.bot.IGame)
and is about to be triggered. |
IDlvlChangeHandler |
Called when the player switches dungeon levels.
|
IFoundItemsHandler |
Called every time the player encounters items on his current tile and in containers on the tile.
|
IFullFrameHandler |
Called when the frame on screen is fully drawn – the cursor is on the player,
the map and status lines are completely drawn.
|
IGameStateHandler |
Notification of game start or end.
|
IKnowPositionHandler |
Called when the cursor is on the player –
besides full frames this also occurs on location prompts.
|
IMultilineMessageHandler |
Called when a fullscreen message is presented to the player.
|
IRedrawHandler |
Called every time the screen contents change.
|
IToplineMessageHandler |
Called when a message appears on the top line (without --More-- if any).
|
All registered handlers are invoked for each event in priority order.
The bot may implement these if found useful. The framework automatically uses information from these events to update the game state.
There are more undocumented event types in the package bothack.internal.