Class InventoryPacket

java.lang.Object
tools.packet.InventoryPacket

public class InventoryPacket extends Object
道具欄/物品相關封包建構器。

CWvsContext 機械式拆分而來(P5 God class 分檔),方法簽名與封包位元組完全不變。

  • Constructor Details

    • InventoryPacket

      public InventoryPacket()
  • Method Details

    • addInventorySlot

      public static byte[] addInventorySlot(MapleInventoryType type, Item item)
    • addInventorySlot

      public static byte[] addInventorySlot(MapleInventoryType type, Item item, boolean fromDrop)
    • updateInventorySlot

      public static byte[] updateInventorySlot(MapleInventoryType type, Item item, boolean fromDrop)
    • 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

      public static byte[] clearInventoryItem(MapleInventoryType type, short slot, boolean fromDrop)
    • updateSpecialItemUse

      public static byte[] updateSpecialItemUse(Item item, byte invType, MapleCharacter chr)
    • updateSpecialItemUse

      public static byte[] updateSpecialItemUse(Item item, byte invType, short pos, boolean theShort, MapleCharacter chr)
    • updateSpecialItemUse_

      public static byte[] updateSpecialItemUse_(Item item, byte invType, MapleCharacter chr)
    • updateSpecialItemUse_

      public static byte[] updateSpecialItemUse_(Item item, byte invType, short pos, MapleCharacter chr)
    • updateEquippedItem

      public static byte[] updateEquippedItem(MapleCharacter chr, Equip eq, short pos)
    • scrolledItem

      public static byte[] scrolledItem(Item scroll, Item item, boolean destroyed, boolean potential)
    • scrolledItem

      public static byte[] scrolledItem(Item scroll, Item item, boolean destroyed, boolean potential, boolean equipped)
    • moveAndUpgradeItem

      public static byte[] moveAndUpgradeItem(MapleInventoryType type, Item item, short oldpos, short newpos, MapleCharacter chr)
    • dropInventoryItem

      public static byte[] dropInventoryItem(MapleInventoryType type, short src)
    • dropInventoryItemUpdate

      public static byte[] dropInventoryItemUpdate(MapleInventoryType type, Item item)
    • getInventoryFull

      public static byte[] getInventoryFull()
    • getInventoryStatus

      public static byte[] getInventoryStatus()
    • getSlotUpdate

      public static byte[] getSlotUpdate(byte invType, byte newSlots)
    • getShowInventoryFull

      public static byte[] getShowInventoryFull()
    • showItemUnavailable

      public static byte[] showItemUnavailable()