Search in sources :

Example 1 with ServerboundDelistItemsPacket

use of com.almuradev.almura.feature.store.network.ServerboundDelistItemsPacket in project Almura by AlmuraDev.

the class ClientStoreManager method requestDelistBuyingItem.

public void requestDelistBuyingItem(final String id, final int recNo) {
    checkNotNull(id);
    checkState(recNo >= 0);
    this.network.sendToServer(new ServerboundDelistItemsPacket(id, StoreItemSegmentType.BUYING, Lists.newArrayList(recNo)));
}
Also used : ServerboundDelistItemsPacket(com.almuradev.almura.feature.store.network.ServerboundDelistItemsPacket)

Example 2 with ServerboundDelistItemsPacket

use of com.almuradev.almura.feature.store.network.ServerboundDelistItemsPacket in project Almura by AlmuraDev.

the class ClientStoreManager method requestDelistSellingItem.

public void requestDelistSellingItem(final String id, final int recNo) {
    checkNotNull(id);
    checkState(recNo >= 0);
    this.network.sendToServer(new ServerboundDelistItemsPacket(id, StoreItemSegmentType.SELLING, Lists.newArrayList(recNo)));
}
Also used : ServerboundDelistItemsPacket(com.almuradev.almura.feature.store.network.ServerboundDelistItemsPacket)

Aggregations

ServerboundDelistItemsPacket (com.almuradev.almura.feature.store.network.ServerboundDelistItemsPacket)2