Class MechDoor
java.lang.Object
server.maps.MapleMapObject
server.maps.MechDoor
機械師職業專用的傳送門物件,實作為
MapleMapObject 子類別。
機械門(Mech Door)由機械師玩家在地圖上放置,記錄擁有者角色 ID、所屬隊伍 ID
與門的編號(id),允許隊伍成員快速傳送。
- 生成封包由
CField.spawnMechDoor(MechDoor, boolean)組裝 - 移除封包由
CField.removeMechDoor(MechDoor, boolean)組裝 getType()回傳MapleMapObjectType.DOOR
由 MapleMap 管理生命周期;partyid 為 0 表示擁有者不在隊伍中。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()intintgetType()voidsendDestroyData(MapleClient client) voidsendSpawnData(MapleClient client) Methods inherited from class MapleMapObject
getObjectId, getPosition, getRange, getTruePosition, setObjectId, setPosition
-
Constructor Details
-
MechDoor
-
-
Method Details
-
sendSpawnData
- Specified by:
sendSpawnDatain classMapleMapObject
-
sendDestroyData
- Specified by:
sendDestroyDatain classMapleMapObject
-
getOwnerId
public int getOwnerId() -
getPartyId
public int getPartyId() -
getId
public int getId() -
getType
- Specified by:
getTypein classMapleMapObject
-