Class InfoPacket
java.lang.Object
tools.packet.InfoPacket
角色資訊/訊息/廣播相關封包建構器。
由 CWvsContext 機械式拆分而來(P5 God class 分檔),方法簽名與封包位元組完全不變。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]fishingUpdate(byte type, int id) static byte[]GainEXP_Monster(int gain, boolean white, int partyinc, int Class_Bonus_EXP, int Equipment_Bonus_EXP, int Premium_Bonus_EXP) static byte[]GainEXP_Others(int gain, boolean inChat, boolean white) static byte[]getBPMsg(int amount) static byte[]getGPContribution(int itemid) static byte[]getGPMsg(int itemid) static byte[]getShowFameGain(int gain) static byte[]getShowInventoryStatus(int mode) static byte[]getShowItemGain(int itemId, short quantity) static byte[]getShowItemGain(int itemId, short quantity, boolean inChat) static byte[]getSPMsg(byte sp, short job) static byte[]getStatusMsg(int itemid) static byte[]itemExpired(int itemid) static byte[]showExpireMessage(byte type, List<Integer> item) static byte[]static byte[]showItemReplaceMessage(List<String> message) static byte[]showMesoGain(int gain, boolean inChat) static byte[]showReturnStone(int act) static byte[]showStatusMessage(int mode, String info, String data) static byte[]showTraitGain(MapleTrait.MapleTraitType trait, int amount) static byte[]static byte[]teachMessage(int skillId, int toCharId, String toCharName) static byte[]updateInfoQuest(int quest, String data) static byte[]updateQuest(MapleQuestStatus quest) static byte[]updateQuestMobKills(MapleQuestStatus status)
-
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
-
updateQuestMobKills
-
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
-
updateInfoQuest
-
showItemReplaceMessage
-
showTraitGain
-
showTraitMaxed
-
getBPMsg
public static byte[] getBPMsg(int amount) -
showExpireMessage
-
showStatusMessage
-
showReturnStone
public static byte[] showReturnStone(int act) -
fishingUpdate
public static byte[] fishingUpdate(byte type, int id) -
teachMessage
-