Class ZombieHitPlayerPacket
java.lang.Object
zombie.network.packets.hit.ZombieHitPlayerPacket
- All Implemented Interfaces:
AntiCheatHitShortDistance.IAntiCheat
,AntiCheatOwner.IAntiCheat
,AntiCheatTarget.IAntiCheat
,INetworkPacketField
,HitCharacter
,IDescriptor
,INetworkPacket
public class ZombieHitPlayerPacket
extends Object
implements HitCharacter, AntiCheatHitShortDistance.IAntiCheat, AntiCheatTarget.IAntiCheat, AntiCheatOwner.IAntiCheat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
boolean
isRelevant
(UdpConnection connection) void
parse
(ByteBuffer b, UdpConnection connection) void
void
void
process()
boolean
void
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
-
ZombieHitPlayerPacket
public ZombieHitPlayerPacket()
-
-
Method Details
-
set
-
parse
- Specified by:
parse
in interfaceINetworkPacket
- Specified by:
parse
in interfaceINetworkPacketField
-
write
- Specified by:
write
in interfaceINetworkPacketField
-
getDistance
public float getDistance()- Specified by:
getDistance
in interfaceAntiCheatHitShortDistance.IAntiCheat
-
getCharacter
- Specified by:
getCharacter
in interfaceAntiCheatOwner.IAntiCheat
-
getTargetCharacter
- Specified by:
getTargetCharacter
in interfaceAntiCheatTarget.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
-