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