Package net.md_5.bungee.protocol

# Class Protocol.DirectionData

java.lang.Object
net.md_5.bungee.protocol.Protocol.DirectionData

Enclosing class:
  Protocol

public static final class Protocol.DirectionData extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DirectionData(Protocol protocolPhase, ProtocolConstants.Direction direction)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `final DefinedPacket`
  `createPacket(int id, int version)`
  `ProtocolConstants.Direction`
  `getDirection()`
  `boolean`
  `hasPacket(Class<? extends DefinedPacket> packet, int version)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DirectionData

    public DirectionData(Protocol protocolPhase, ProtocolConstants.Direction direction)

- ## Method Details

  - ### createPacket

    public final DefinedPacket createPacket(int id, int version)

  - ### hasPacket

    public boolean hasPacket(Class<? extends DefinedPacket> packet, int version)

  - ### getDirection

    public ProtocolConstants.Direction getDirection()