Package zombie.network.packets
Class Stitch
java.lang.Object
zombie.network.packets.Stitch
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
Modifier and TypeFieldDescriptionprotected PlayerBodyPart
protected boolean
protected boolean
protected PlayerItem
protected float
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 boolean1) 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
-
item
-
stitchTime
protected float stitchTime -
doIt
protected boolean doIt -
infect
protected boolean infect
-
-
Constructor Details
-
Stitch
public Stitch()
-
-
Method Details
-
set
public void set(IsoGameCharacter gameCharacter, IsoGameCharacter gameCharacter2, BodyPart bodyPart, InventoryItem inventoryItem, boolean boolean1) -
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
-