Enum Class DialogType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<DialogType>, Constable
@Generated
public enum DialogType
extends Enum<DialogType>
implements com.google.protobuf.ProtocolMessageEnum
Dialog types matching Minecraft's dialog registry. Determines the overall structure and behavior of the dialog.Protobuf enum
soulfire.v1.DialogType-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConfirmation dialog with Yes/No buttons in the footer.Dialog list with buttons linking to other dialogs.Multi-action dialog with a scrollable list of action buttons.Notice dialog with a single action button in the footer.Server links dialog displaying clickable links.Unknown or unrecognized dialog type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConfirmation dialog with Yes/No buttons in the footer.static final intDialog list with buttons linking to other dialogs.static final intMulti-action dialog with a scrollable list of action buttons.static final intNotice dialog with a single action button in the footer.static final intServer links dialog displaying clickable links.static final intUnknown or unrecognized dialog type. -
Method Summary
Modifier and TypeMethodDescriptionstatic DialogTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DialogType> static DialogTypevalueOf(int value) Deprecated.static DialogTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static DialogTypeReturns the enum constant of this class with the specified name.static DialogType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIALOG_TYPE_UNSPECIFIED
Unknown or unrecognized dialog type.
DIALOG_TYPE_UNSPECIFIED = 0; -
DIALOG_TYPE_NOTICE
Notice dialog with a single action button in the footer. Used for informational messages that require acknowledgment.
DIALOG_TYPE_NOTICE = 1; -
DIALOG_TYPE_CONFIRMATION
Confirmation dialog with Yes/No buttons in the footer. Used for binary choices.
DIALOG_TYPE_CONFIRMATION = 2; -
DIALOG_TYPE_MULTI_ACTION
Multi-action dialog with a scrollable list of action buttons. Used for menus with multiple options.
DIALOG_TYPE_MULTI_ACTION = 3; -
DIALOG_TYPE_SERVER_LINKS
Server links dialog displaying clickable links. Used to show server website, Discord, etc.
DIALOG_TYPE_SERVER_LINKS = 4; -
DIALOG_TYPE_DIALOG_LIST
Dialog list with buttons linking to other dialogs. Used for hierarchical menu navigation.
DIALOG_TYPE_DIALOG_LIST = 5; -
UNRECOGNIZED
-
-
Field Details
-
DIALOG_TYPE_UNSPECIFIED_VALUE
public static final int DIALOG_TYPE_UNSPECIFIED_VALUEUnknown or unrecognized dialog type.
DIALOG_TYPE_UNSPECIFIED = 0;- See Also:
-
DIALOG_TYPE_NOTICE_VALUE
public static final int DIALOG_TYPE_NOTICE_VALUENotice dialog with a single action button in the footer. Used for informational messages that require acknowledgment.
DIALOG_TYPE_NOTICE = 1;- See Also:
-
DIALOG_TYPE_CONFIRMATION_VALUE
public static final int DIALOG_TYPE_CONFIRMATION_VALUEConfirmation dialog with Yes/No buttons in the footer. Used for binary choices.
DIALOG_TYPE_CONFIRMATION = 2;- See Also:
-
DIALOG_TYPE_MULTI_ACTION_VALUE
public static final int DIALOG_TYPE_MULTI_ACTION_VALUEMulti-action dialog with a scrollable list of action buttons. Used for menus with multiple options.
DIALOG_TYPE_MULTI_ACTION = 3;- See Also:
-
DIALOG_TYPE_SERVER_LINKS_VALUE
public static final int DIALOG_TYPE_SERVER_LINKS_VALUEServer links dialog displaying clickable links. Used to show server website, Discord, etc.
DIALOG_TYPE_SERVER_LINKS = 4;- See Also:
-
DIALOG_TYPE_DIALOG_LIST_VALUE
public static final int DIALOG_TYPE_DIALOG_LIST_VALUEDialog list with buttons linking to other dialogs. Used for hierarchical menu navigation.
DIALOG_TYPE_DIALOG_LIST = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-