Package zombie.network.packets
Class Disinfect
java.lang.Object
zombie.network.packets.Disinfect
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
Modifier and TypeFieldDescriptionprotected PlayerItem
protected PlayerBodyPart
protected final Player
protected final Player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
process()
void
set
(IsoGameCharacter gameCharacter, IsoGameCharacter gameCharacter2, BodyPart bodyPart, InventoryItem inventoryItem) boolean
validate
(UdpConnection udpConnection) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Field Details
-
wielder
-
target
-
bodyPart
-
alcohol
-
-
Constructor Details
-
Disinfect
public Disinfect()
-
-
Method Details
-
set
public void set(IsoGameCharacter gameCharacter, IsoGameCharacter gameCharacter2, BodyPart bodyPart, InventoryItem inventoryItem) -
parse
- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
process
public void process() -
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-
validate
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
-