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.StringgetDescription()IsoMovingObjectgetMovingObject()java.lang.StringgetName()intgetPacketSizeBytes()booleanisConsistent()voidparse(java.nio.ByteBuffer byteBuffer)voidprocess()voidset(java.lang.String string, boolean boolean1, IsoMovingObject movingObject)voidwrite(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:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytesin interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin interfaceINetworkPacket
-