Examples of ExplosionMessage


Examples of net.lightstone.msg.ExplosionMessage

    double z = buffer.readDouble();
    float radius = buffer.readFloat();
    int records = buffer.readInt();
    byte[] coordinates = new byte[records * 3];
    buffer.readBytes(coordinates);
    return new ExplosionMessage(x, y, z, radius, coordinates);
  }
View Full Code Here

Examples of org.spout.vanilla.protocol.msg.world.ExplosionMessage

    event.getMessages().add(new SoundEffectMessage(event.getSound().getName(), event.getPosition(), event.getVolume(), event.getPitch(), getRepositionManager()));
  }

  @EventHandler
  public void onExplosionEffect(PlayExplosionEffectEvent event) {
    event.getMessages().add(new ExplosionMessage(event.getPosition(), event.getSize(), new byte[0], getRepositionManager()));
  }
View Full Code Here

Examples of org.spout.vanilla.protocol.msg.world.ExplosionMessage

    byte[] coordinates = new byte[records * 3];
    buffer.readBytes(coordinates);
    buffer.readFloat(); // unknown (x?)
    buffer.readFloat(); // unknown (y?)
    buffer.readFloat(); // unknown (z?)
    return new ExplosionMessage(x, y, z, radius, coordinates, NullRepositionManager.getInstance());
  }
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.