public void readData(DataInputStream input) throws IOException { id = input.readInt(); data = input.readShort(); name = PacketUtil.readString(input); }
@Override public void readData(DataInputStream input) throws IOException { super.readData(input); this.setUrl(PacketUtil.readString(input)); this.setDrawAlphaChannel(input.readBoolean()); }