Package zombie.network.packets
Class PlaySoundPacket
java.lang.Object
zombie.network.packets.PlaySoundPacket
- All Implemented Interfaces:
INetworkPacket
public class PlaySoundPacket extends java.lang.Object implements INetworkPacket
-
Constructor Summary
Constructors Constructor Description PlaySoundPacket()
-
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
IsoMovingObject
getMovingObject()
java.lang.String
getName()
int
getPacketSizeBytes()
boolean
isConsistent()
void
parse(java.nio.ByteBuffer byteBuffer)
void
process()
void
set(java.lang.String string, boolean boolean1, IsoMovingObject movingObject)
void
write(ByteBufferWriter byteBufferWriter)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PlaySoundPacket
public PlaySoundPacket()
-
-
Method Details
-
set
-
process
public void process() -
getName
public java.lang.String getName() -
getMovingObject
-
parse
public void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytes
in interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescription
in interfaceINetworkPacket
-