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