Interface SoundPacket
- All Superinterfaces:
ConvertablePacket,Packet
- All Known Subinterfaces:
EntitySoundPacket,LocationalSoundPacket,StaticSoundPacket
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]longMethods inherited from interface de.maxhenkel.voicechat.api.packets.ConvertablePacket
toEntitySoundPacket, toLocationalSoundPacket, toStaticSoundPacket
-
Method Details
-
getSender
UUID getSender()- Returns:
- the sender of this packet - doesn't necessarily need to be a players UUID
-
getOpusEncodedData
byte[] getOpusEncodedData()- Returns:
- the opus encoded audio data
-
getSequenceNumber
long getSequenceNumber()- Returns:
- the sequence number of the packet
-