Class MapleExpedition
java.lang.Object
handling.world.exped.MapleExpedition
遠征隊的記憶體模型,持有隊伍列表、隊長與遠征類型等狀態。
一支遠征隊由數支 MapleParty 組成,上限由 ExpeditionType.maxParty 決定。
主要職責:
- 維護已加入的隊伍 ID 清單(
parties),並在查詢時自動移除已解散的隊伍。 - 提供
getFreeParty()找出可接收新成員的隊伍,或在尚有空間時回傳0表示可新建隊伍。 - 由
handling.world.World的遠征隊子系統建立並管理生命週期; 封包由tools.packet.ExpeditionPacket組裝後送往客戶端。
-
Constructor Details
-
MapleExpedition
-
-
Method Details
-
getType
-
getLeader
public int getLeader() -
getParties
-
getId
public int getId() -
getAllMembers
public int getAllMembers() -
getFreeParty
public int getFreeParty() -
getIndex
public int getIndex(int partyId) -
setLeader
public void setLeader(int newLead)
-