Enum Class FlagWarStatus

java.lang.Object
java.lang.Enum<FlagWarStatus>
net.chen.legacyLand.war.flagwar.FlagWarStatus
All Implemented Interfaces:
Serializable, Comparable<FlagWarStatus>, Constable

public enum FlagWarStatus extends Enum<FlagWarStatus>
FlagWar 状态枚举
  • Enum Constant Details

    • ACTIVE

      public static final FlagWarStatus ACTIVE
      进行中
    • ATTACKER_VICTORY

      public static final FlagWarStatus ATTACKER_VICTORY
      攻击方胜利(计时器完成)
    • DEFENDER_VICTORY

      public static final FlagWarStatus DEFENDER_VICTORY
      防守方胜利(旗帜被破坏)
    • CANCELLED

      public static final FlagWarStatus CANCELLED
      已取消
  • Method Details

    • values

      public static FlagWarStatus[] 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 FlagWarStatus 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
    • isEnded

      public boolean isEnded()
      检查是否已结束