Package zombie.network.packets
Class PlayWorldSoundPacket
java.lang.Object
zombie.network.packets.PlayWorldSoundPacket
- All Implemented Interfaces:
INetworkPacket
public class PlayWorldSoundPacket extends java.lang.Object implements INetworkPacket
-
Constructor Summary
Constructors Constructor Description PlayWorldSoundPacket() -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetName()intgetPacketSizeBytes()intgetX()intgetY()booleanisConsistent()voidparse(java.nio.ByteBuffer byteBuffer)voidprocess()voidset(java.lang.String string, int int1, int int2, byte byte1)voidwrite(ByteBufferWriter byteBufferWriter)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PlayWorldSoundPacket
public PlayWorldSoundPacket()
-
-
Method Details
-
set
public void set(java.lang.String string, int int1, int int2, byte byte1) -
process
public void process() -
getName
public java.lang.String getName() -
getX
public int getX() -
getY
public int getY() -
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
-