use of mcjty.lib.network.Argument in project RFTools by McJty.
the class GuiDialingDevice method changeShowFavorite.
private void changeShowFavorite() {
boolean fav = favoriteButton.getCurrentChoiceIndex() == 1;
sendServerCommand(RFToolsMessages.INSTANCE, DialingDeviceTileEntity.CMD_SHOWFAVORITE, new Argument("favorite", fav));
listDirty = 0;
transmitterList.setSelected(-1);
receiverList.setSelected(-1);
}
use of mcjty.lib.network.Argument in project RFTools by McJty.
the class GuiMatterReceiver method addPlayer.
private void addPlayer() {
sendServerCommand(RFToolsMessages.INSTANCE, MatterReceiverTileEntity.CMD_ADDPLAYER, new Argument("player", nameField.getText()));
listDirty = 0;
}
use of mcjty.lib.network.Argument in project RFTools by McJty.
the class GuiMatterReceiver method delPlayer.
private void delPlayer() {
sendServerCommand(RFToolsMessages.INSTANCE, MatterReceiverTileEntity.CMD_DELPLAYER, new Argument("player", players.get(allowedPlayers.getSelected())));
listDirty = 0;
}
use of mcjty.lib.network.Argument in project RFTools by McJty.
the class GuiMatterTransmitter method addPlayer.
private void addPlayer() {
sendServerCommand(RFToolsMessages.INSTANCE, MatterTransmitterTileEntity.CMD_ADDPLAYER, new Argument("player", nameField.getText()));
listDirty = 0;
}
use of mcjty.lib.network.Argument in project RFTools by McJty.
the class GuiMatterTransmitter method delPlayer.
private void delPlayer() {
sendServerCommand(RFToolsMessages.INSTANCE, MatterTransmitterTileEntity.CMD_DELPLAYER, new Argument("player", players.get(allowedPlayers.getSelected())));
listDirty = 0;
}
Aggregations