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
public class PlayerHitVehiclePacket extends PlayerHitPacket implements 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
Constructors Constructor Description PlayerHitVehiclePacket()
-
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
boolean
isConsistent()
void
parse(java.nio.ByteBuffer byteBuffer)
protected void
process()
void
set(IsoPlayer player, BaseVehicle baseVehicle, HandWeapon handWeapon, boolean boolean1)
void
write(ByteBufferWriter byteBufferWriter)
Methods inherited from class zombie.network.packets.hit.PlayerHitPacket
attack, isRelevant, postProcess, preProcess, react, set
Methods inherited from class zombie.network.packets.hit.HitCharacterPacket
getHitDescription, 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
-
Field Details
-
vehicle
-
-
Constructor Details
-
PlayerHitVehiclePacket
public PlayerHitVehiclePacket()
-
-
Method Details
-
set
public void set(IsoPlayer player, BaseVehicle baseVehicle, HandWeapon handWeapon, boolean boolean1) -
parse
public void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
parse
in interfaceINetworkPacket
- Overrides:
parse
in classPlayerHitPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
- Overrides:
write
in classPlayerHitPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
- Overrides:
isConsistent
in classPlayerHitPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classPlayerHitPacket
-
process
protected void process()- Overrides:
process
in classHitCharacterPacket
-