15161718192021
@Override public AttachEntityMessage decode(ChannelBuffer buffer) throws IOException { int id = buffer.readInt(); int vehicle = buffer.readInt(); return new AttachEntityMessage(id, vehicle); }