Package zombie.network.packets.hit
Class ZombieHitPlayerPacket
java.lang.Object
zombie.network.packets.hit.HitCharacterPacket
zombie.network.packets.hit.ZombieHitPlayerPacket
- All Implemented Interfaces:
INetworkPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.network.packets.hit.HitCharacterPacket
HitCharacterPacket.HitType -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidattack()booleanbooleanisRelevant(UdpConnection udpConnection) voidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) protected voidprotected voidprotected voidprocess()protected voidreact()voidbooleanvalidate(UdpConnection udpConnection) voidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class zombie.network.packets.hit.HitCharacterPacket
postpone, process, tryProcess, tryProcessInternalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Field Details
-
wielder
-
target
-
bite
-
-
Constructor Details
-
ZombieHitPlayerPacket
public ZombieHitPlayerPacket()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket- Overrides:
writein classHitCharacterPacket
-
isRelevant
- Specified by:
isRelevantin classHitCharacterPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket- Overrides:
getDescriptionin classHitCharacterPacket
-
preProcess
protected void preProcess()- Overrides:
preProcessin classHitCharacterPacket
-
process
protected void process()- Overrides:
processin classHitCharacterPacket
-
postProcess
protected void postProcess()- Overrides:
postProcessin classHitCharacterPacket
-
attack
protected void attack()- Specified by:
attackin classHitCharacterPacket
-
react
protected void react()- Specified by:
reactin classHitCharacterPacket
-
validate
- Specified by:
validatein classHitCharacterPacket
-