Interface HitCharacter
- All Superinterfaces:
IDescriptor, INetworkPacket, INetworkPacketField
- All Known Implementing Classes:
AnimalHit, AnimalHitAnimalPacket, AnimalHitPlayerPacket, AnimalHitThumpablePacket, PlayerHit, PlayerHitAnimalPacket, PlayerHitObjectPacket, PlayerHitPlayerPacket, PlayerHitSquarePacket, PlayerHitVehiclePacket, PlayerHitZombiePacket, VehicleHit, VehicleHitAnimalPacket, VehicleHitPlayerPacket, VehicleHitZombiePacket, ZombieHit, ZombieHitPlayerPacket, ZombieHitThumpablePacket
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidattack()booleanisRelevant(UdpConnection var1) default voidlog(UdpConnection connection) default voiddefault voiddefault voidprocess()default voidprocessClient(UdpConnection connection) default voidprocessServer(PacketTypes.PacketType packetType, UdpConnection connection) default voidreact()default voidupdate()Methods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacket
isPostponed, parseClient, parseClientLoading, parseServer, postpone, processClientLoading, sendToClient, sendToClients, sendToRelativeClients, sendToServer, setData, shouldInstantiate, syncMethods inherited from interface INetworkPacketField
getPacketSizeBytes, isConsistent, parse, write
-
Method Details
-
isRelevant
-
attack
default void attack() -
react
default void react() -
update
default void update() -
preProcess
default void preProcess() -
process
default void process() -
postProcess
default void postProcess() -
log
-
processServer
- Specified by:
processServerin interfaceINetworkPacket
-
processClient
- Specified by:
processClientin interfaceINetworkPacket
-