use of org.apollo.game.message.impl.FocusUpdateMessage in project apollo by apollo-rsps.
the class FocusUpdateMessageDecoder method decode.
@Override
public FocusUpdateMessage decode(GamePacket packet) {
GamePacketReader reader = new GamePacketReader(packet);
boolean focused = (byte) reader.getUnsigned(DataType.BYTE) == 1;
return new FocusUpdateMessage(focused);
}
Aggregations