Enum Class QuestState

java.lang.Object
java.lang.Enum<QuestState>
emu.grasscutter.game.quest.enums.QuestState
All Implemented Interfaces:
Serializable, Comparable<QuestState>, Constable

public enum QuestState extends Enum<QuestState>
  • Enum Constant Details

    • QUEST_STATE_NONE

      public static final QuestState QUEST_STATE_NONE
    • QUEST_STATE_UNSTARTED

      public static final QuestState QUEST_STATE_UNSTARTED
    • QUEST_STATE_UNFINISHED

      public static final QuestState QUEST_STATE_UNFINISHED
    • QUEST_STATE_FINISHED

      public static final QuestState QUEST_STATE_FINISHED
    • QUEST_STATE_FAILED

      public static final QuestState QUEST_STATE_FAILED
  • Method Details

    • values

      public static QuestState[] 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

      public static QuestState valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()