Enum Class DialogueNextActionPacket.DialogueGuiAction
java.lang.Object
java.lang.Enum<DialogueNextActionPacket.DialogueGuiAction>
com.pixelmonmod.pixelmon.comm.packetHandlers.dialogue.DialogueNextActionPacket.DialogueGuiAction
- All Implemented Interfaces:
Serializable
,Comparable<DialogueNextActionPacket.DialogueGuiAction>
,Constable
- Enclosing class:
- DialogueNextActionPacket
public static enum DialogueNextActionPacket.DialogueGuiAction
extends Enum<DialogueNextActionPacket.DialogueGuiAction>
An enumeration of all possible actions for the client's dialogue GUI.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWill close the GUI upon receiving the response from the server.Will continue the dialogue without changing the queued dialogue.Will continue the dialogue after inserting new dialogue at the start of the queue.Will continue the dialogue after replacing the queued dialogue. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLOSE
Will close the GUI upon receiving the response from the server. -
CONTINUE
Will continue the dialogue without changing the queued dialogue. -
NEW_DIALOGUES
Will continue the dialogue after replacing the queued dialogue. -
INSERT_DIALOGUES
Will continue the dialogue after inserting new dialogue at the start of the queue.
-
-
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
-