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
Fields inherited from class zombie.network.packets.hit.PlayerHitPacket
weapon, wielder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isRelevant
(UdpConnection udpConnection) void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) protected void
process()
void
set
(IsoPlayer player, HandWeapon handWeapon, boolean boolean1) boolean
validate
(UdpConnection udpConnection) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class zombie.network.packets.hit.PlayerHitPacket
attack, postProcess, preProcess, react
Methods inherited from class zombie.network.packets.hit.HitCharacterPacket
postpone, process, tryProcess, tryProcessInternal
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
-
square
-
-
Constructor Details
-
PlayerHitSquarePacket
public PlayerHitSquarePacket()
-
-
Method Details
-
set
- Overrides:
set
in classPlayerHitPacket
-
parse
- Specified by:
parse
in interfaceINetworkPacket
- Overrides:
parse
in classPlayerHitPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
- Overrides:
write
in classPlayerHitPacket
-
isRelevant
- Overrides:
isRelevant
in classPlayerHitPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
- Overrides:
isConsistent
in classPlayerHitPacket
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classPlayerHitPacket
-
process
protected void process()- Overrides:
process
in classHitCharacterPacket
-
validate
- Specified by:
validate
in classHitCharacterPacket
-