Package zombie.network.packets.hit
Class PlayerHitVehiclePacket
java.lang.Object
zombie.network.packets.hit.HitCharacterPacket
zombie.network.packets.hit.PlayerHitPacket
zombie.network.packets.hit.PlayerHitVehiclePacket
- 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 TypeMethodDescriptionbooleanvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) protected voidprocess()voidset(IsoPlayer player, BaseVehicle baseVehicle, HandWeapon handWeapon, boolean boolean1) booleanvalidate(UdpConnection udpConnection) voidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class zombie.network.packets.hit.PlayerHitPacket
attack, isRelevant, postProcess, preProcess, react, setMethods 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
-
vehicle
-
-
Constructor Details
-
PlayerHitVehiclePacket
public PlayerHitVehiclePacket()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacket- Overrides:
parsein classPlayerHitPacket
-
write
- Specified by:
writein interfaceINetworkPacket- Overrides:
writein 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
-