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 java.lang.Object
implements INetworkPacket
  • Constructor Details

  • Method Details

    • process

      public static HitCharacterPacket process​(java.nio.ByteBuffer byteBuffer)
    • write

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

      public java.lang.String getDescription()
      Specified by:
      getDescription in interface INetworkPacket
    • getHitDescription

      public java.lang.String getHitDescription()
    • 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()