Class InfoPacket

java.lang.Object
tools.packet.InfoPacket

public class InfoPacket extends Object
角色資訊/訊息/廣播相關封包建構器。

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

  • Constructor Details

    • InfoPacket

      public InfoPacket()
  • Method Details

    • showMesoGain

      public static byte[] showMesoGain(int gain, boolean inChat)
    • getShowInventoryStatus

      public static byte[] getShowInventoryStatus(int mode)
    • getShowItemGain

      public static byte[] getShowItemGain(int itemId, short quantity)
    • getShowItemGain

      public static byte[] getShowItemGain(int itemId, short quantity, boolean inChat)
    • updateQuest

      public static byte[] updateQuest(MapleQuestStatus quest)
    • updateQuestMobKills

      public static byte[] updateQuestMobKills(MapleQuestStatus status)
    • itemExpired

      public static byte[] itemExpired(int itemid)
    • GainEXP_Monster

      public static byte[] GainEXP_Monster(int gain, boolean white, int partyinc, int Class_Bonus_EXP, int Equipment_Bonus_EXP, int Premium_Bonus_EXP)
    • GainEXP_Others

      public static byte[] GainEXP_Others(int gain, boolean inChat, boolean white)
    • getSPMsg

      public static byte[] getSPMsg(byte sp, short job)
    • getShowFameGain

      public static byte[] getShowFameGain(int gain)
    • getGPMsg

      public static byte[] getGPMsg(int itemid)
    • getGPContribution

      public static byte[] getGPContribution(int itemid)
    • getStatusMsg

      public static byte[] getStatusMsg(int itemid)
    • showInfo

      public static byte[] showInfo(String info)
    • updateInfoQuest

      public static byte[] updateInfoQuest(int quest, String data)
    • showItemReplaceMessage

      public static byte[] showItemReplaceMessage(List<String> message)
    • showTraitGain

      public static byte[] showTraitGain(MapleTrait.MapleTraitType trait, int amount)
    • showTraitMaxed

      public static byte[] showTraitMaxed(MapleTrait.MapleTraitType trait)
    • getBPMsg

      public static byte[] getBPMsg(int amount)
    • showExpireMessage

      public static byte[] showExpireMessage(byte type, List<Integer> item)
    • showStatusMessage

      public static byte[] showStatusMessage(int mode, String info, String data)
    • showReturnStone

      public static byte[] showReturnStone(int act)
    • fishingUpdate

      public static byte[] fishingUpdate(byte type, int id)
    • teachMessage

      public static byte[] teachMessage(int skillId, int toCharId, String toCharName)