Interface PacketBinding<P extends Packet>

    • Method Detail

      • opcode

        int opcode()
        Gets the opcode that is assigned to this binding.
        Returns:
        The opcode
      • packetType

        Class<P> packetType()
        Gets the type of the Packet.
        Returns:
        The packet type