890891892893894895896
@EventHandler public void onWindowClose(WindowCloseEvent event) { if (event.getWindow() instanceof DefaultWindow) { return; } event.getMessages().add(new WindowCloseMessage(event.getWindow())); }
41424344454647
} @Override public WindowCloseMessage decode(ByteBuf buffer) throws IOException { int id = buffer.readUnsignedByte(); return new WindowCloseMessage(id); }