Package zombie.network.packets.hit
Class VehicleHitPlayerPacket
java.lang.Object
zombie.network.packets.hit.HitCharacterPacket
zombie.network.packets.hit.VehicleHitPacket
zombie.network.packets.hit.VehicleHitPlayerPacket
- All Implemented Interfaces:
INetworkPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.network.packets.hit.HitCharacterPacket
HitCharacterPacket.HitType
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Fall
protected final Player
protected final VehicleHit
Fields inherited from class zombie.network.packets.hit.VehicleHitPacket
vehicle, wielder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) protected void
postpone()
protected void
protected void
protected void
process()
protected void
react()
void
set
(IsoPlayer player, IsoPlayer player2, BaseVehicle baseVehicle, float float1, boolean boolean1, int int1, float float2, boolean boolean2) boolean
validate
(UdpConnection udpConnection) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class zombie.network.packets.hit.VehicleHitPacket
attack, isRelevant, set
Methods inherited from class zombie.network.packets.hit.HitCharacterPacket
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
-
target
-
vehicleHit
-
fall
-
-
Constructor Details
-
VehicleHitPlayerPacket
public VehicleHitPlayerPacket()
-
-
Method Details
-
set
public void set(IsoPlayer player, IsoPlayer player2, BaseVehicle baseVehicle, float float1, boolean boolean1, int int1, float float2, boolean boolean2) -
parse
- Specified by:
parse
in interfaceINetworkPacket
- Overrides:
parse
in classVehicleHitPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
- Overrides:
write
in classVehicleHitPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
- Overrides:
isConsistent
in classVehicleHitPacket
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classVehicleHitPacket
-
preProcess
protected void preProcess()- Overrides:
preProcess
in classVehicleHitPacket
-
process
protected void process()- Overrides:
process
in classHitCharacterPacket
-
postProcess
protected void postProcess()- Overrides:
postProcess
in classVehicleHitPacket
-
react
protected void react()- Specified by:
react
in classHitCharacterPacket
-
postpone
protected void postpone()- Overrides:
postpone
in classHitCharacterPacket
-
validate
- Specified by:
validate
in classHitCharacterPacket
-