Class ZombieHitPlayerPacket
java.lang.Object
zombie.network.packets.hit.ZombieHit
zombie.network.packets.hit.ZombieHitPlayerPacket
- All Implemented Interfaces:
AntiCheatHitShortDistance.IAntiCheat,AntiCheatOwner.IAntiCheat,AntiCheatTarget.IAntiCheat,INetworkPacketField,HitCharacter,IDescriptor,INetworkPacket
public class ZombieHitPlayerPacket
extends ZombieHit
implements AntiCheatHitShortDistance.IAntiCheat, AntiCheatTarget.IAntiCheat, AntiCheatOwner.IAntiCheat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanisRelevant(UdpConnection var1) voidparse(ByteBuffer var1, UdpConnection var2) voidvoidvoidprocess()booleanvoidwrite(ByteBufferWriter var1) Methods inherited from class zombie.network.packets.hit.ZombieHit
isConsistent, setMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.hit.HitCharacter
attack, log, processClient, processServer, reactMethods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface zombie.network.packets.INetworkPacket
isPostponed, parseClient, parseClientLoading, parseServer, postpone, processClientLoading, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, setData, syncMethods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
-
Constructor Details
-
ZombieHitPlayerPacket
public ZombieHitPlayerPacket()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classZombieHit
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classZombieHit
-
getDistance
public float getDistance()- Specified by:
getDistancein interfaceAntiCheatHitShortDistance.IAntiCheat
-
getCharacter
- Specified by:
getCharacterin interfaceAntiCheatOwner.IAntiCheat
-
getTargetCharacter
- Specified by:
getTargetCharacterin interfaceAntiCheatTarget.IAntiCheat
-
isRelevant
- Specified by:
isRelevantin interfaceHitCharacter
-
preProcess
public void preProcess()- Specified by:
preProcessin interfaceHitCharacter
-
process
public void process()- Specified by:
processin interfaceHitCharacter
-
postProcess
public void postProcess()- Specified by:
postProcessin interfaceHitCharacter
-