public final class PlayerAudioPacket extends BaseAudioPacket<ServerPacketUdpHandler>
data, sequenceNumber| Constructor and Description |
|---|
PlayerAudioPacket(long sequenceNumber,
byte[] data,
@NotNull java.util.UUID activationId,
short distance,
boolean stereo) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ServerPacketUdpHandler handler) |
void |
read(com.google.common.io.ByteArrayDataInput in) |
void |
write(com.google.common.io.ByteArrayDataOutput out) |
public PlayerAudioPacket(long sequenceNumber,
byte[] data,
@NotNull
@NotNull java.util.UUID activationId,
short distance,
boolean stereo)
public void read(com.google.common.io.ByteArrayDataInput in)
throws java.io.IOException
read in interface Packet<ServerPacketUdpHandler>read in class BaseAudioPacket<ServerPacketUdpHandler>java.io.IOExceptionpublic void write(com.google.common.io.ByteArrayDataOutput out)
throws java.io.IOException
write in interface Packet<ServerPacketUdpHandler>write in class BaseAudioPacket<ServerPacketUdpHandler>java.io.IOExceptionpublic void handle(ServerPacketUdpHandler handler)