Esempio n. 1
0
 @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);
 }
Esempio n. 3
0
 @Override
 public void writeData(SpoutOutputStream output) throws IOException {
   super.writeData(output);
   output.writeBoolean(isBgVisible());
 }