Class DeadCharacterPacket

java.lang.Object
zombie.network.packets.DeadCharacterPacket
All Implemented Interfaces:
INetworkPacket
Direct Known Subclasses:
DeadPlayerPacket, DeadZombiePacket

public abstract class DeadCharacterPacket
extends java.lang.Object
implements INetworkPacket
  • Field Details

    • id

      protected short id
    • x

      protected float x
    • y

      protected float y
    • z

      protected float z
    • angle

      protected float angle
    • direction

      protected IsoDirections direction
    • characterFlags

      protected byte characterFlags
    • killer

      protected IsoGameCharacter killer
    • character

      protected IsoGameCharacter character
  • Constructor Details

    • DeadCharacterPacket

      public DeadCharacterPacket()
  • Method Details

    • set

      public void set​(IsoGameCharacter gameCharacter)
    • process

      public void process()
    • parse

      public void parse​(java.nio.ByteBuffer byteBuffer)
      Specified by:
      parse in interface INetworkPacket
    • parseDeadBodyInventory

      public void parseDeadBodyInventory​(java.nio.ByteBuffer byteBuffer)
    • parseCharacterInventory

      protected void parseCharacterInventory​(java.nio.ByteBuffer byteBuffer)
    • writeCharacterInventory

      public void writeCharacterInventory​(ByteBufferWriter byteBufferWriter)
    • write

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

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

      public java.lang.String getDeathDescription()
    • isConsistent

      public boolean isConsistent()
      Specified by:
      isConsistent in interface INetworkPacket