Class NPCPacket
java.lang.Object
tools.packet.NPCPacket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]arrangeStorage(byte slots, Collection<Item> items, boolean changed) static byte[]confirmShopTransaction(byte code, MapleShop shop, MapleClient c, int indexBought) static byte[]getAdviceTalk(String[] wzinfo) static byte[]getAndroidTalkStyle(int npc, String talk, int... args) static byte[]getBuffSelection(int npcid, String sel) static byte[]getEvanTutorial(String data) static byte[]getMapSelection(int npcid, String sel) static byte[]getNPCShop(int sid, MapleShop shop, MapleClient c) static byte[]getNPCTalk(int npc, byte msgType, String talk, String endBytes, byte type) static byte[]getNPCTalk(int npc, byte msgType, String talk, String endBytes, byte type, int diffNPC) static byte[]getNPCTalkNum(int npc, String talk, int def, int min, int max) static byte[]getNPCTalkStyle(int npc, String talk, int... args) static byte[]getNPCTalkText(int npc, String talk) static byte[]getOthersTalk(int npc, byte msgType, int npc_unk, String talk, String endBytes, byte type) static byte[]getStorage(int npcId, byte slots, Collection<Item> items, int meso) static byte[]static byte[]mesoStorage(byte slots, int meso) static byte[]NPCSpecialAction(int oid, int value, int x, int y) static byte[]OnScriptMessage(int nSpeakerTypeID, int nSpeakerTemplateID, int nAnotherSpeakerTemplateID, int nOtherSpeakerTemplateID, byte msgType, int bParam, int eColor, String[] msg, int[] value, int[][] values, MaplePet[] pets) static byte[]removeNPC(int objectid) static byte[]removeNPCController(int objectid) static byte[]setNPCScriptable(List<Pair<Integer, String>> npcs) static byte[]setNPCSpecialAction(int oid, String action, int time, boolean unk) static byte[]static byte[]spawnNPCRequestController(MapleNPC life, boolean MiniMap) static byte[]storeStorage(byte slots, MapleInventoryType type, Collection<Item> items) static byte[]takeOutStorage(byte slots, MapleInventoryType type, Collection<Item> items)
-
Constructor Details
-
NPCPacket
public NPCPacket()
-
-
Method Details
-
spawnNPC
-
removeNPC
public static byte[] removeNPC(int objectid) -
removeNPCController
public static byte[] removeNPCController(int objectid) -
spawnNPCRequestController
-
setNPCScriptable
-
setNPCSpecialAction
-
NPCSpecialAction
public static byte[] NPCSpecialAction(int oid, int value, int x, int y) -
OnScriptMessage
-
getNPCTalk
-
getOthersTalk
-
getAdviceTalk
-
getNPCTalk
-
getMapSelection
-
getBuffSelection
-
getNPCTalkStyle
-
getAndroidTalkStyle
-
getNPCTalkNum
-
getNPCTalkText
-
getEvanTutorial
-
getNPCShop
-
confirmShopTransaction
public static byte[] confirmShopTransaction(byte code, MapleShop shop, MapleClient c, int indexBought) -
getStorage
-
getStorageFull
public static byte[] getStorageFull() -
mesoStorage
public static byte[] mesoStorage(byte slots, int meso) -
arrangeStorage
-
storeStorage
-
takeOutStorage
-