mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-03-07 14:30:29 +00:00
15 lines
No EOL
460 B
Scala
15 lines
No EOL
460 B
Scala
// Copyright (c) 2016 PSForever.net to present
|
|
package psforever.net
|
|
|
|
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())
|
|
} |