use of org.apollo.game.message.impl.AddFriendMessage in project apollo by apollo-rsps.
the class AddFriendMessageDecoder method decode.
@Override
public AddFriendMessage decode(GamePacket packet) {
GamePacketReader reader = new GamePacketReader(packet);
String username = NameUtil.decodeBase37(reader.getSigned(DataType.LONG));
return new AddFriendMessage(username);
}
use of org.apollo.game.message.impl.AddFriendMessage in project apollo by apollo-rsps.
the class AddFriendMessageDecoder method decode.
@Override
public AddFriendMessage decode(GamePacket packet) {
GamePacketReader reader = new GamePacketReader(packet);
String username = NameUtil.decodeBase37(reader.getSigned(DataType.LONG));
return new AddFriendMessage(username);
}
Aggregations