Package zombie.network.packets.hit
Class PlayerHitSquarePacket
java.lang.Object
zombie.network.packets.hit.HitCharacterPacket
zombie.network.packets.hit.PlayerHitPacket
zombie.network.packets.hit.PlayerHitSquarePacket
- All Implemented Interfaces:
INetworkPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.network.packets.hit.HitCharacterPacket
HitCharacterPacket.HitType -
Field Summary
FieldsFields inherited from class zombie.network.packets.hit.PlayerHitPacket
weapon, wielder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisRelevant(UdpConnection udpConnection) voidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) protected voidprocess()voidset(IsoPlayer player, HandWeapon handWeapon, boolean boolean1) booleanvalidate(UdpConnection udpConnection) voidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class zombie.network.packets.hit.PlayerHitPacket
attack, postProcess, preProcess, reactMethods 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
-
square
-
-
Constructor Details
-
PlayerHitSquarePacket
public PlayerHitSquarePacket()
-
-
Method Details
-
set
- Overrides:
setin classPlayerHitPacket
-
parse
- Specified by:
parsein interfaceINetworkPacket- Overrides:
parsein classPlayerHitPacket
-
write
- Specified by:
writein interfaceINetworkPacket- Overrides:
writein classPlayerHitPacket
-
isRelevant
- Overrides:
isRelevantin classPlayerHitPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket- Overrides:
isConsistentin classPlayerHitPacket
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket- Overrides:
getDescriptionin classPlayerHitPacket
-
process
protected void process()- Overrides:
processin classHitCharacterPacket
-
validate
- Specified by:
validatein classHitCharacterPacket
-