Enum Class MapleStat
- All Implemented Interfaces:
Serializable, Comparable<MapleStat>, Constable
角色屬性欄位的旗標枚舉,對應封包中的位元遮罩值。
每個常數持有一個 long 遮罩,用於組裝角色屬性更新封包,
標記哪些欄位(外觀、等級、職業、基本四維、HP/MP、AP/SP、經驗值、聲望等)需要同步至客戶端。
巢狀枚舉 MapleStat.Temp 定義臨時狀態(buff/debuff)的獨立位元遮罩。
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic final MapleStatgetByValue(long value) longgetValue()static MapleStatReturns the enum constant of this class with the specified name.static MapleStat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SKIN
-
FACE
-
HAIR
-
LEVEL
-
JOB
-
STR
-
DEX
-
INT
-
LUK
-
HP
-
MAXHP
-
MP
-
MAXMP
-
AVAILABLEAP
-
AVAILABLESP
-
EXP
-
FAME
-
MESO
-
PET
-
FATIGUE
-
CHARISMA
-
INSIGHT
-
WILL
-
CRAFT
-
SENSE
-
CHARM
-
TRAIT_LIMIT
-
BATTLE_EXP
-
BATTLE_RANK
-
BATTLE_POINTS
-
ICE_GAGE
-
VIRTUE
-
GACHAPONEXP
-
GENDER
-
-
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
-
getValue
public long getValue() -
getByValue
-