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.String
getDescription()
java.lang.String
getName()
int
getPacketSizeBytes()
int
getX()
int
getY()
boolean
isConsistent()
void
parse(java.nio.ByteBuffer byteBuffer)
void
process()
void
set(java.lang.String string, int int1, int int2, byte byte1)
void
write(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:
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
-