use of com.almuradev.almura.feature.exchange.network.ServerboundModifyExchangePacket in project Almura by AlmuraDev.
the class ClientExchangeManager method deleteExchange.
public void deleteExchange(final String id) {
checkNotNull(id);
this.network.sendToServer(new ServerboundModifyExchangePacket(id));
}
use of com.almuradev.almura.feature.exchange.network.ServerboundModifyExchangePacket in project Almura by AlmuraDev.
the class ClientExchangeManager method modifyExchange.
public void modifyExchange(final String id, final String name, final String permission, final boolean isHidden) {
checkNotNull(id);
checkNotNull(name);
checkNotNull(permission);
this.network.sendToServer(new ServerboundModifyExchangePacket(ExchangeModifyType.MODIFY, id, name, permission, isHidden));
}
use of com.almuradev.almura.feature.exchange.network.ServerboundModifyExchangePacket in project Almura by AlmuraDev.
the class ClientExchangeManager method addExchange.
public void addExchange(final String id, final String name, final String permission, final boolean isHidden) {
checkNotNull(id);
checkNotNull(name);
checkNotNull(permission);
this.network.sendToServer(new ServerboundModifyExchangePacket(ExchangeModifyType.ADD, id, name, permission, isHidden));
}
Aggregations