Enum Class SummonMovementType
- All Implemented Interfaces:
Serializable, Comparable<SummonMovementType>, Constable
列舉召喚獸的移動模式,對應客戶端封包中的移動行為值。
每個列舉值持有一個整數代碼(由 getValue() 取得),
在 MapleSummon 建立時指定,並寫入生成封包供客戶端決定召喚獸的跟隨/繞行行為:
STATIONARY(0)— 靜止不動(章魚等)FOLLOW(1)— 跟隨玩家(四轉法師系)WALK_STATIONARY(2)— 在原地行走但不位移(Reaper)CIRCLE_FOLLOW(4)— 繞玩家圓周移動(弓手系召喚獸)CIRCLE_STATIONARY(5)— 繞固定點圓周移動(Gaviota)
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()static SummonMovementTypeReturns the enum constant of this class with the specified name.static SummonMovementType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATIONARY
-
FOLLOW
-
WALK_STATIONARY
-
CIRCLE_FOLLOW
-
CIRCLE_STATIONARY
-
-
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 int getValue()
-