Interface HitCharacter
- All Superinterfaces:
IDescriptor, INetworkPacket, INetworkPacketField
- All Known Implementing Classes:
AnimalHit, AnimalHitAnimalPacket, AnimalHitPlayerPacket, AnimalHitThumpablePacket, PlayerHit, PlayerHitAnimalPacket, PlayerHitObjectPacket, PlayerHitPlayerPacket, PlayerHitSquarePacket, PlayerHitVehiclePacket, PlayerHitZombiePacket, VehicleHit, VehicleHitPlayerPacket, VehicleHitZombiePacket, ZombieHit, ZombieHitPlayerPacket, ZombieHitThumpablePacket
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidattack()booleanisRelevant(UdpConnection var1) default voidlog(UdpConnection connection) voidvoidvoidprocess()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, 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
void preProcess() -
process
void process() -
postProcess
void postProcess() -
log
-
processServer
- Specified by:
processServerin interfaceINetworkPacket
-
processClient
- Specified by:
processClientin interfaceINetworkPacket
-