@Override public void writeData(SpoutOutputStream output) throws IOException { super.writeData(output); output.writeString(getUrl()); output.writeBoolean(isDrawingAlphaChannel()); output.writeShort((short) top); output.writeShort((short) left); }
public void writeData(SpoutOutputStream output) throws IOException { output.writeString(AddonPacket.getPacketId(packet.getClass())); output.writeInt(data.length); output.writeBoolean(compressed); output.write(data); }
@Override public void writeData(SpoutOutputStream output) throws IOException { super.writeData(output); output.writeBoolean(isBgVisible()); }