Package zombie.network.packets.hit
Class PlayerHitPacket
java.lang.Object
zombie.network.packets.hit.HitCharacterPacket
zombie.network.packets.hit.PlayerHitPacket
- All Implemented Interfaces:
INetworkPacket
- Direct Known Subclasses:
PlayerHitPlayerPacket
,PlayerHitSquarePacket
,PlayerHitVehiclePacket
,PlayerHitZombiePacket
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.network.packets.hit.HitCharacterPacket
HitCharacterPacket.HitType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isRelevant
(UdpConnection connection) void
parse
(ByteBuffer b, UdpConnection connection) void
set
(IsoPlayer wielder, HandWeapon weapon, boolean isCriticalHit) void
Methods inherited from class zombie.network.packets.hit.HitCharacterPacket
process, tryProcess, tryProcessInternal, validate
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Constructor Details
-
PlayerHitPacket
-
-
Method Details
-
set
-
parse
- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
- Overrides:
write
in classHitCharacterPacket
-
isRelevant
- Specified by:
isRelevant
in classHitCharacterPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classHitCharacterPacket
-