Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static MaplePacket getWhisper(String sender, int channel, String text) {
- MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
- mplew.writeShort(SendPacketOpcode.WHISPER.getValue());
- mplew.write(0x12);
- mplew.writeMapleAsciiString(sender);
- mplew.writeShort(channel - 1); // I guess this is the channel
- mplew.writeMapleAsciiString(text);
- return mplew.getPacket();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement