public class ClickActionHandler extends Object
| Constructor and Description |
|---|
ClickActionHandler(Menu menu,
Map<me.hsgamer.hscore.bukkit.clicktype.AdvancedClickType,ActionApplier> actionMap,
boolean closeOnClick)
Create a new click action handler
|
ClickActionHandler(Menu menu,
Object o,
boolean closeOnClick)
Create a new click action handler
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(UUID uuid,
me.hsgamer.hscore.bukkit.clicktype.AdvancedClickType clickType,
me.hsgamer.hscore.task.BatchRunnable batchRunnable)
Apply the action to the runnable
|
public ClickActionHandler(Menu menu, Map<me.hsgamer.hscore.bukkit.clicktype.AdvancedClickType,ActionApplier> actionMap, boolean closeOnClick)
menu - the menuactionMap - the action mapcloseOnClick - if the menu should close when the player clickpublic void apply(UUID uuid, me.hsgamer.hscore.bukkit.clicktype.AdvancedClickType clickType, me.hsgamer.hscore.task.BatchRunnable batchRunnable)
uuid - the unique idclickType - the click typebatchRunnable - the batch runnableCopyright © 2023. All rights reserved.