Class PlayerBuffValueHolder
java.lang.Object
handling.world.PlayerBuffValueHolder
- All Implemented Interfaces:
Serializable
單一主動 buff 狀態的快照值物件,供跨頻道 buff 保留機制使用。
記錄 buff 的啟動時間 startTime、本地剩餘時長 localDuration、
施放者角色 ID cid、效果來源 MapleStatEffect 及
MapleBuffStat 到數值的映射 statup;
由 PlayerBuffStorage 以角色 ID 為鍵批次存取,在玩家換頻道後還原 buff 狀態。
實作 Serializable 以支援序列化傳輸。
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintintlong -
Constructor Summary
ConstructorsConstructorDescriptionPlayerBuffValueHolder(long startTime, MapleStatEffect effect, Map<MapleBuffStat, Integer> statup, int localDuration, int cid) -
Method Summary
-
Field Details
-
startTime
public long startTime -
localDuration
public int localDuration -
cid
public int cid -
effect
-
statup
-
-
Constructor Details
-
PlayerBuffValueHolder
public PlayerBuffValueHolder(long startTime, MapleStatEffect effect, Map<MapleBuffStat, Integer> statup, int localDuration, int cid)
-