Examples of WindowCloseMessage


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

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

  }

  @Override
  public WindowCloseMessage decode(ByteBuf buffer) throws IOException {
    int id = buffer.readUnsignedByte();
    return new WindowCloseMessage(id);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.