use of org.apollo.game.message.impl.ButtonMessage in project apollo by apollo-rsps.
the class ButtonMessageDecoder method decode.
@Override
public ButtonMessage decode(GamePacket packet) {
GamePacketReader reader = new GamePacketReader(packet);
int interfaceId = (int) reader.getUnsigned(DataType.SHORT);
return new ButtonMessage(interfaceId);
}
use of org.apollo.game.message.impl.ButtonMessage in project apollo by apollo-rsps.
the class ButtonMessageDecoder method decode.
@Override
public ButtonMessage decode(GamePacket packet) {
GamePacketReader reader = new GamePacketReader(packet);
int interfaceId = (int) reader.getUnsigned(DataType.SHORT);
return new ButtonMessage(interfaceId);
}
Aggregations