Class ZombieHitPlayerPacket
java.lang.Object
zombie.network.packets.hit.ZombieHit
zombie.network.packets.hit.ZombieHitPlayerPacket
- All Implemented Interfaces:
AntiCheatHitShortDistance.IAntiCheat, AntiCheatTarget.IAntiCheat, INetworkPacketField, HitCharacter, IDescriptor, INetworkPacket
public class ZombieHitPlayerPacket
extends ZombieHit
implements AntiCheatHitShortDistance.IAntiCheat, AntiCheatTarget.IAntiCheat
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanisConsistent(UdpConnection connection) booleanisRelevant(UdpConnection connection) voidlog(UdpConnection connection) voidparse(ByteBuffer b, UdpConnection connection) voidvoidvoidprocess()voidreact()voidvoidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HitCharacter
attack, processClient, processServer, updateMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacket
isPostponed, parseClient, parseClientLoading, parseServer, postpone, processClientLoading, sendToClient, sendToClients, sendToRelativeClients, sendToServer, setData, syncMethods inherited from interface INetworkPacketField
getPacketSizeBytes
-
Field Details
-
target
-
-
Constructor Details
-
ZombieHitPlayerPacket
public ZombieHitPlayerPacket()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classZombieHit
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classZombieHit
-
isRelevant
- Specified by:
isRelevantin interfaceHitCharacter
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField- Overrides:
isConsistentin classZombieHit
-
preProcess
public void preProcess()- Specified by:
preProcessin interfaceHitCharacter
-
process
public void process()- Specified by:
processin interfaceHitCharacter
-
postProcess
public void postProcess()- Specified by:
postProcessin interfaceHitCharacter
-
log
- Specified by:
login interfaceHitCharacter
-
react
public void react()- Specified by:
reactin interfaceHitCharacter
-
getDistance
public float getDistance()- Specified by:
getDistancein interfaceAntiCheatHitShortDistance.IAntiCheat
-
getTargetCharacter
- Specified by:
getTargetCharacterin interfaceAntiCheatTarget.IAntiCheat
-