// Copyright (c) 2017 PSForever
package net.psforever.packet.control

import net.psforever.packet._
import scodec.Codec

final case class ConnectionClose() extends PlanetSideControlPacket {
  type Packet = ConnectionClose
  def opcode = ControlPacketOpcode.ConnectionClose
  def encode = ConnectionClose.encode(this)
}

object ConnectionClose extends Marshallable[ConnectionClose] {
  implicit val codec: Codec[ConnectionClose] = PacketHelpers.emptyCodec(ConnectionClose())
}
