Enum Class MapleStat

All Implemented Interfaces:
Serializable, Comparable<MapleStat>, Constable

public enum MapleStat extends Enum<MapleStat>
角色屬性欄位的旗標枚舉,對應封包中的位元遮罩值。

每個常數持有一個 long 遮罩,用於組裝角色屬性更新封包, 標記哪些欄位(外觀、等級、職業、基本四維、HP/MP、AP/SP、經驗值、聲望等)需要同步至客戶端。 巢狀枚舉 MapleStat.Temp 定義臨時狀態(buff/debuff)的獨立位元遮罩。

  • Enum Constant Details

    • SKIN

      public static final MapleStat SKIN
    • FACE

      public static final MapleStat FACE
    • HAIR

      public static final MapleStat HAIR
    • LEVEL

      public static final MapleStat LEVEL
    • JOB

      public static final MapleStat JOB
    • STR

      public static final MapleStat STR
    • DEX

      public static final MapleStat DEX
    • INT

      public static final MapleStat INT
    • LUK

      public static final MapleStat LUK
    • HP

      public static final MapleStat HP
    • MAXHP

      public static final MapleStat MAXHP
    • MP

      public static final MapleStat MP
    • MAXMP

      public static final MapleStat MAXMP
    • AVAILABLEAP

      public static final MapleStat AVAILABLEAP
    • AVAILABLESP

      public static final MapleStat AVAILABLESP
    • EXP

      public static final MapleStat EXP
    • FAME

      public static final MapleStat FAME
    • MESO

      public static final MapleStat MESO
    • PET

      public static final MapleStat PET
    • FATIGUE

      public static final MapleStat FATIGUE
    • CHARISMA

      public static final MapleStat CHARISMA
    • INSIGHT

      public static final MapleStat INSIGHT
    • WILL

      public static final MapleStat WILL
    • CRAFT

      public static final MapleStat CRAFT
    • SENSE

      public static final MapleStat SENSE
    • CHARM

      public static final MapleStat CHARM
    • TRAIT_LIMIT

      public static final MapleStat TRAIT_LIMIT
    • BATTLE_EXP

      public static final MapleStat BATTLE_EXP
    • BATTLE_RANK

      public static final MapleStat BATTLE_RANK
    • BATTLE_POINTS

      public static final MapleStat BATTLE_POINTS
    • ICE_GAGE

      public static final MapleStat ICE_GAGE
    • VIRTUE

      public static final MapleStat VIRTUE
    • GACHAPONEXP

      public static final MapleStat GACHAPONEXP
    • GENDER

      public static final MapleStat GENDER
  • Method Details

    • values

      public static MapleStat[] 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 MapleStat 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 long getValue()
    • getByValue

      public static final MapleStat getByValue(long value)