Class HytaleMenuDefinition

java.lang.Object
net.blueva.arcade.api.ui.menu.hytale.HytaleMenuDefinition
Record Components:
layoutPath - the path to the .ui layout file relative to Common/UI/Custom/ (e.g. "MyPlugin/Menu.ui")
title - the logical title of the menu (used for logging/identification)
elements - the list of named UI elements whose values can be set from the server
eventBindings - the list of event bindings that connect UI elements to server-side actions
dismissable - whether the player can dismiss the UI without triggering an action

public final class HytaleMenuDefinition extends Object
Static menu definition for Hytale's custom UI system.

Hytale menus are backed by .ui layout files that are downloaded to the client when the player connects. The server manipulates the UI by sending commands to set values and by receiving events for user interactions.

Since:
3.2