Enum Class LogicType

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

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

    • LOGIC_NONE

      public static final LogicType LOGIC_NONE
    • LOGIC_AND

      public static final LogicType LOGIC_AND
    • LOGIC_OR

      public static final LogicType LOGIC_OR
    • LOGIC_NOT

      public static final LogicType LOGIC_NOT
    • LOGIC_A_AND_ETCOR

      public static final LogicType LOGIC_A_AND_ETCOR
    • LOGIC_A_AND_B_AND_ETCOR

      public static final LogicType LOGIC_A_AND_B_AND_ETCOR
    • LOGIC_A_OR_ETCAND

      public static final LogicType LOGIC_A_OR_ETCAND
    • LOGIC_A_OR_B_OR_ETCAND

      public static final LogicType LOGIC_A_OR_B_OR_ETCAND
    • LOGIC_A_AND_B_OR_ETCAND

      public static final LogicType LOGIC_A_AND_B_OR_ETCAND
  • Method Details

    • values

      public static LogicType[] 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 LogicType 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()
    • calculate

      public static boolean calculate(LogicType logicType, int[] progress)