Package org.spout.vanilla.protocol.msg.window

Examples of org.spout.vanilla.protocol.msg.window.WindowCloseMessage


  @EventHandler
  public void onWindowClose(WindowCloseEvent event) {
    if (event.getWindow() instanceof DefaultWindow) {
      return;
    }
    event.getMessages().add(new WindowCloseMessage(event.getWindow()));
  }
View Full Code Here


  }

  @Override
  public WindowCloseMessage decode(ByteBuf buffer) throws IOException {
    int id = buffer.readUnsignedByte();
    return new WindowCloseMessage(id);
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.protocol.msg.window.WindowCloseMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.