use of com.almuradev.almura.feature.exchange.network.ServerboundTransactionRequestPacket in project Almura by AlmuraDev.
the class ClientExchangeManager method purchase.
public void purchase(final String id, final int listItemRecNo, final int quantity) {
checkNotNull(id);
checkState(listItemRecNo >= 0);
checkState(quantity >= 1);
this.network.sendToServer(new ServerboundTransactionRequestPacket(id, listItemRecNo, quantity));
}
Aggregations