Class EventPacket

java.lang.Object
zombie.network.packets.EventPacket
All Implemented Interfaces:
INetworkPacket

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

    • MAX_PLAYER_EVENTS

      public static final int MAX_PLAYER_EVENTS
      See Also:
      Constant Field Values
    • x

      public float x
    • y

      public float y
    • z

      public float z
  • Constructor Details

    • EventPacket

      public EventPacket()
  • Method Details

    • getDescription

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

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

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

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

      public boolean isRelevant​(UdpConnection udpConnection)
    • isMovableEvent

      public boolean isMovableEvent()
    • isTimeout

      public boolean isTimeout()
    • tryProcess

      public void tryProcess()
    • process

      public boolean process​(IsoPlayer player)
    • set

      public boolean set​(IsoPlayer player, java.lang.String string)