Package net.blueva.arcade.api.ui
Interface HytaleMenuActionHandler<P>
- Type Parameters:
P- player type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Handles module-scoped actions triggered from Hytale custom UI menus.
This callback is used by the experimental Hytale menu API to dispatch
actions declared with the MODULE; action target.
- Since:
- 3.2
-
Method Summary
-
Method Details
-
handle
Called when a MODULE action is triggered from a Hytale menu.- Parameters:
player- the player that triggered the actionpayload- custom payload declared in the menu action string
-