Interface Buffstat

All Known Implementing Classes:
MapleBuffStat, MapleDisease, MonsterStatus

public interface Buffstat
buff 狀態項目的通用介面,定義數值位元與位元組位置的存取合約。

實作此介面的列舉(MapleBuffStatclient.status.MonsterStatus) 以 int 位元遮罩表示每一個 buff/debuff 種類; getValue() 回傳該 buff 的 int 位元值, getPosition() 回傳其在封包 buff 欄位(4 個 int)中的位置索引(0–3)。 PacketHelper 依此介面將 buff Map 序列化為客戶端封包。

  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
  • Method Details

    • getValue

      int getValue()
    • getPosition

      int getPosition()