use of com.almuradev.almura.feature.exchange.network.ServerboundForSaleFilterResponsePacket in project Almura by AlmuraDev.
the class ClientExchangeManager method handleForSaleFilter.
public void handleForSaleFilter(final String id) {
checkNotNull(id);
this.network.sendToServer(new ServerboundForSaleFilterResponsePacket(id, this.currentFilter, this.currentSort, this.currentSkip, this.currentLimit));
}
use of com.almuradev.almura.feature.exchange.network.ServerboundForSaleFilterResponsePacket in project Almura by AlmuraDev.
the class ClientExchangeManager method queryForSaleItemsFor.
public void queryForSaleItemsFor(final String id, @Nullable final String filter, @Nullable final String sort, final int skip, final int limit) {
checkNotNull(id);
this.currentFilter = filter;
this.currentSort = sort;
this.currentSkip = skip;
this.currentLimit = limit;
this.network.sendToServer(new ServerboundForSaleFilterResponsePacket(id, filter, sort, skip, limit));
}
Aggregations