root
JVM
root
/
org.magiclib.bounty
/
MagicBountyBarEvent
Magic
Bounty
Bar
Event
class
MagicBountyBarEvent
Displays the bounty board and all associated bounties.
Author
Wisp, Tartiflette
Members
Constructors
Magic
Bounty
Bar
Event
Link copied to clipboard
constructor
(
)
Functions
add
Prompt
And
Option
Link copied to clipboard
open
fun
addPromptAndOption
(
dialog
:
InteractionDialogAPI
,
memoryMap
:
Map
<
String
,
MemoryAPI
>
)
init
Link copied to clipboard
open
fun
init
(
dialog
:
InteractionDialogAPI
,
memoryMap
:
Map
<
String
,
MemoryAPI
>
)
Called when the player chooses this event from the list of options shown when they enter the bar.
is
Always
Show
Link copied to clipboard
open
fun
isAlwaysShow
(
)
:
Boolean
option
Selected
Link copied to clipboard
open
fun
optionSelected
(
optionText
:
String
,
optionData
:
Any
)
should
Show
At
Market
Link copied to clipboard
open
fun
shouldShowAtMarket
(
market
:
MarketAPI
)
:
Boolean
This method is not called, as the Bar Event is triggered directly in ShowMagicBountyBoardCmd.