use of mcjty.lib.network.Argument in project XNet by McJty.
the class ChannelEditorPanel method update.
@Override
protected void update(String tag, Object value) {
data.put(tag, value);
Argument[] args = new Argument[data.size() + 1];
int i = 0;
args[i++] = new Argument("channel", channel);
performUpdate(args, i, TileEntityController.CMD_UPDATECHANNEL);
}
use of mcjty.lib.network.Argument in project XNet by McJty.
the class GuiController method createConnector.
private void createConnector(SidedPos sidedPos) {
sendServerCommand(XNetMessages.INSTANCE, TileEntityController.CMD_CREATECONNECTOR, new Argument("channel", getSelectedChannel()), new Argument("pos", sidedPos.getPos()), new Argument("side", sidedPos.getSide().ordinal()));
refresh();
}
Aggregations