Class PlaySoundPacket
java.lang.Object
zombie.network.packets.sound.PlaySoundPacket
- All Implemented Interfaces:
INetworkPacketField, IDescriptor, INetworkPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final byte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()intbooleanisConsistent(IConnection connection) voidparse(ByteBufferReader b, IConnection connection) voidprocessClient(UdpConnection connection) voidprocessServer(PacketTypes.PacketType packetType, UdpConnection connection) voidvoidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacket
isPostponed, parseClient, parseClientLoading, parseServer, postpone, processClientLoading, sendToClient, sendToClients, sendToRelativeClients, sendToServer, shouldInstantiate, sync
-
Field Details
-
SND_FLAG_NONE
public static final byte SND_FLAG_NONE- See Also:
-
SND_FLAG_LOOP
public static final byte SND_FLAG_LOOP- See Also:
-
SND_FLAG_VOCAL
public static final byte SND_FLAG_VOCAL- See Also:
-
-
Constructor Details
-
PlaySoundPacket
public PlaySoundPacket()
-
-
Method Details
-
setData
- Specified by:
setDatain interfaceINetworkPacket
-
processServer
- Specified by:
processServerin interfaceINetworkPacket
-
processClient
- Specified by:
processClientin interfaceINetworkPacket
-
getName
-
getMovingObject
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytesin interfaceINetworkPacketField
-