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
public class VehicleHitPlayerPacket extends VehicleHitPacket implements INetworkPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.network.packets.hit.HitCharacterPacket
HitCharacterPacket.HitType
-
Field Summary
Fields Modifier and Type Field Description protected Fall
fall
protected Player
target
protected VehicleHit
vehicleHit
Fields inherited from class zombie.network.packets.hit.VehicleHitPacket
vehicle, wielder
-
Constructor Summary
Constructors Constructor Description VehicleHitPlayerPacket()
-
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
java.lang.String
getHitDescription()
boolean
isConsistent()
void
parse(java.nio.ByteBuffer byteBuffer)
protected void
postpone()
protected void
postProcess()
protected void
preProcess()
protected void
process()
protected void
react()
void
set(IsoPlayer player, IsoPlayer player2, BaseVehicle baseVehicle, float float1, boolean boolean1, int int1, float float2, boolean boolean2)
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
-
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
public void parse(java.nio.ByteBuffer byteBuffer)- 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
public java.lang.String getDescription()- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classVehicleHitPacket
-
getHitDescription
public java.lang.String getHitDescription()- Overrides:
getHitDescription
in classHitCharacterPacket
-
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
-