Class VehicleHitPlayerPacket
java.lang.Object
zombie.network.packets.hit.VehicleHit
zombie.network.packets.hit.VehicleHitPlayerPacket
- All Implemented Interfaces:
AntiCheatHitDamage.IAntiCheat
,AntiCheatHitShortDistance.IAntiCheat
,AntiCheatSafety.IAntiCheat
,AntiCheatSpeed.IAntiCheat
,INetworkPacketField
,HitCharacter
,IDescriptor
,INetworkPacket
public class VehicleHitPlayerPacket
extends VehicleHit
implements AntiCheatHitDamage.IAntiCheat, AntiCheatHitShortDistance.IAntiCheat, AntiCheatSafety.IAntiCheat, AntiCheatSpeed.IAntiCheat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
getHit()
boolean
isRelevant
(UdpConnection var1) void
void
void
process()
void
set
(IsoPlayer wielder, IsoPlayer target, BaseVehicle vehicle, float damage, boolean isTargetHitFromBehind, int vehicleDamage, float vehicleSpeed, boolean isVehicleHitFromBehind) Methods inherited from class zombie.network.packets.hit.VehicleHit
parse, write
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
attack, 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, isConsistent
-
Constructor Details
-
VehicleHitPlayerPacket
public VehicleHitPlayerPacket()
-
-
Method Details
-
set
public void set(IsoPlayer wielder, IsoPlayer target, BaseVehicle vehicle, float damage, boolean isTargetHitFromBehind, int vehicleDamage, float vehicleSpeed, boolean isVehicleHitFromBehind) -
getDistance
public float getDistance()- Specified by:
getDistance
in interfaceAntiCheatHitShortDistance.IAntiCheat
-
getTarget
- Specified by:
getTarget
in interfaceAntiCheatSafety.IAntiCheat
-
getWielder
- Specified by:
getWielder
in interfaceAntiCheatSafety.IAntiCheat
-
getMovable
- Specified by:
getMovable
in interfaceAntiCheatSpeed.IAntiCheat
-
isRelevant
- Specified by:
isRelevant
in interfaceHitCharacter
-
preProcess
public void preProcess()- Specified by:
preProcess
in interfaceHitCharacter
-
process
public void process()- Specified by:
process
in interfaceHitCharacter
-
postProcess
public void postProcess()- Specified by:
postProcess
in interfaceHitCharacter
-
getHit
- Specified by:
getHit
in interfaceAntiCheatHitDamage.IAntiCheat
-