Class HitCharacterPacket

java.lang.Object
zombie.network.packets.hit.HitCharacterPacket
All Implemented Interfaces:
INetworkPacket
Direct Known Subclasses:
PlayerHitPacket, VehicleHitPacket, ZombieHitPlayerPacket

public abstract class HitCharacterPacket extends Object implements INetworkPacket
  • Constructor Details

  • Method Details

    • process

      public static HitCharacterPacket process(ByteBuffer byteBuffer)
    • write

      public void write(ByteBufferWriter byteBufferWriter)
      Specified by:
      write in interface INetworkPacket
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface INetworkPacket
    • tryProcess

      public void tryProcess()
    • tryProcessInternal

      public void tryProcessInternal()
    • isRelevant

      public abstract boolean isRelevant(UdpConnection udpConnection)
    • attack

      protected abstract void attack()
    • react

      protected abstract void react()
    • preProcess

      protected void preProcess()
    • process

      protected void process()
    • postProcess

      protected void postProcess()
    • postpone

      protected void postpone()
    • validate

      public abstract boolean validate(UdpConnection udpConnection)