Class PlayerHitVehiclePacket
java.lang.Object
zombie.network.packets.hit.PlayerHit
zombie.network.packets.hit.PlayerHitVehiclePacket
- All Implemented Interfaces:
AntiCheatHitLongDistance.IAntiCheat
,AntiCheatHitWeaponAmmo.IAntiCheat
,INetworkPacketField
,HitCharacter
,IDescriptor
,INetworkPacket
public class PlayerHitVehiclePacket
extends PlayerHit
implements AntiCheatHitLongDistance.IAntiCheat, AntiCheatHitWeaponAmmo.IAntiCheat
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
void
parse
(ByteBuffer b, UdpConnection connection) void
process()
void
set
(IsoPlayer isoPlayer, BaseVehicle baseVehicle, HandWeapon handWeapon, boolean boolean0, float float0) void
Methods inherited from class zombie.network.packets.hit.PlayerHit
attack, isConsistent, isRelevant, postProcess, preProcess, set
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.hit.HitCharacter
log, postpone, processClient, processServer, react, tryProcessInternal
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.packets.INetworkPacket
parseClient, parseClientLoading, parseServer, processClientLoading, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, setData, sync
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
-
Field Details
-
vehicle
-
damage
protected float damage
-
-
Constructor Details
-
PlayerHitVehiclePacket
public PlayerHitVehiclePacket()
-
-
Method Details
-
set
public void set(IsoPlayer isoPlayer, BaseVehicle baseVehicle, HandWeapon handWeapon, boolean boolean0, float float0) -
parse
- Specified by:
parse
in interfaceINetworkPacket
- Specified by:
parse
in interfaceINetworkPacketField
- Overrides:
parse
in classPlayerHit
-
write
- Specified by:
write
in interfaceINetworkPacketField
- Overrides:
write
in classPlayerHit
-
process
public void process()- Specified by:
process
in interfaceHitCharacter
-
getInventoryItem
- Specified by:
getInventoryItem
in interfaceAntiCheatHitWeaponAmmo.IAntiCheat
-
getDistance
public float getDistance()- Specified by:
getDistance
in interfaceAntiCheatHitLongDistance.IAntiCheat
-