Package mindustry.ui.builder
Class MenuResult
java.lang.Object
mindustry.ui.builder.MenuResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMaximum length of result stringstatic final intMaximum total length of all string values in chars.static final intMaximum values count of any type that can be sent.static final intMaximum length of a single value in chars.Button that was actually clicked, or null if the dialog was closed (back button).longToken passed to MenuBuilder.Maps ID to element value (slider: value, text field: text, checkbox: checked) -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
maxResultLen
public static final int maxResultLenMaximum length of result string- See Also:
-
maxValueLen
public static final int maxValueLenMaximum length of a single value in chars.- See Also:
-
maxTotalStringLen
public static final int maxTotalStringLenMaximum total length of all string values in chars. This includes IDs of result values.- See Also:
-
maxTotalValues
public static final int maxTotalValuesMaximum values count of any type that can be sent.- See Also:
-
token
public long tokenToken passed to MenuBuilder. -
result
Button that was actually clicked, or null if the dialog was closed (back button). -
values
Maps ID to element value (slider: value, text field: text, checkbox: checked)
-
-
Constructor Details
-
MenuResult
public MenuResult()Implies cancelled results. -
MenuResult
-
-
Method Details