Class InventoryPacket
java.lang.Object
tools.packet.InventoryPacket
道具欄/物品相關封包建構器。
由 CWvsContext 機械式拆分而來(P5 God class 分檔),方法簽名與封包位元組完全不變。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]addInventorySlot(MapleInventoryType type, Item item) static byte[]addInventorySlot(MapleInventoryType type, Item item, boolean fromDrop) static byte[]clearInventoryItem(MapleInventoryType type, short slot, boolean fromDrop) static byte[]dropInventoryItem(MapleInventoryType type, short src) static byte[]dropInventoryItemUpdate(MapleInventoryType type, Item item) static byte[]static byte[]static byte[]static byte[]getSlotUpdate(byte invType, byte newSlots) static byte[]moveAndMergeInventoryItem(MapleInventoryType type, short src, short dst, short total, boolean bag, boolean switchSrcDst, boolean bothBag) static byte[]moveAndMergeWithRestInventoryItem(MapleInventoryType type, short src, short dst, short srcQ, short dstQ, boolean bag, boolean switchSrcDst, boolean bothBag) static byte[]moveAndUpgradeItem(MapleInventoryType type, Item item, short oldpos, short newpos, MapleCharacter chr) static byte[]moveInventoryItem(MapleInventoryType type, short src, short dst, boolean bag, boolean bothBag) static byte[]moveInventoryItem(MapleInventoryType type, short src, short dst, short equipIndicator, boolean bag, boolean bothBag) static byte[]scrolledItem(Item scroll, Item item, boolean destroyed, boolean potential) static byte[]scrolledItem(Item scroll, Item item, boolean destroyed, boolean potential, boolean equipped) static byte[]static byte[]updateEquippedItem(MapleCharacter chr, Equip eq, short pos) static byte[]updateInventorySlot(MapleInventoryType type, Item item, boolean fromDrop) static byte[]updateSpecialItemUse(Item item, byte invType, short pos, boolean theShort, MapleCharacter chr) static byte[]updateSpecialItemUse(Item item, byte invType, MapleCharacter chr) static byte[]updateSpecialItemUse_(Item item, byte invType, short pos, MapleCharacter chr) static byte[]updateSpecialItemUse_(Item item, byte invType, MapleCharacter chr)
-
Constructor Details
-
InventoryPacket
public InventoryPacket()
-
-
Method Details
-
addInventorySlot
-
addInventorySlot
-
updateInventorySlot
-
moveInventoryItem
public static byte[] moveInventoryItem(MapleInventoryType type, short src, short dst, boolean bag, boolean bothBag) -
moveInventoryItem
public static byte[] moveInventoryItem(MapleInventoryType type, short src, short dst, short equipIndicator, boolean bag, boolean bothBag) -
moveAndMergeInventoryItem
public static byte[] moveAndMergeInventoryItem(MapleInventoryType type, short src, short dst, short total, boolean bag, boolean switchSrcDst, boolean bothBag) -
moveAndMergeWithRestInventoryItem
public static byte[] moveAndMergeWithRestInventoryItem(MapleInventoryType type, short src, short dst, short srcQ, short dstQ, boolean bag, boolean switchSrcDst, boolean bothBag) -
clearInventoryItem
-
updateSpecialItemUse
-
updateSpecialItemUse
public static byte[] updateSpecialItemUse(Item item, byte invType, short pos, boolean theShort, MapleCharacter chr) -
updateSpecialItemUse_
-
updateSpecialItemUse_
-
updateEquippedItem
-
scrolledItem
-
scrolledItem
-
moveAndUpgradeItem
public static byte[] moveAndUpgradeItem(MapleInventoryType type, Item item, short oldpos, short newpos, MapleCharacter chr) -
dropInventoryItem
-
dropInventoryItemUpdate
-
getInventoryFull
public static byte[] getInventoryFull() -
getInventoryStatus
public static byte[] getInventoryStatus() -
getSlotUpdate
public static byte[] getSlotUpdate(byte invType, byte newSlots) -
getShowInventoryFull
public static byte[] getShowInventoryFull()
-