# PSF-LoginServer - master - net.psforever.packet.control
PSF - LoginServer - master - net.psforever.packet.control
Keywords: PSF LoginServer master net.psforever.packet.control

PSF-LoginServer - master < Back


# Packages

-  package root
  Definition Classes
    root
-  package net
  Definition Classes
    root
-  package psforever
  Definition Classes
    net
-  package packet
  Definition Classes
    psforever
-  package control
  Definition Classes
    packet
- ClientStart
- ConnectionClose
- ControlSync
- ControlSyncResp
- HandleGamePacket
- MultiPacket
- MultiPacketEx
- RelatedA
- RelatedB
- ServerStart
- SlottedMetaPacket
- TeardownConnection
- Unknown30
-  package crypto
  Definition Classes
    packet
-  package game
  Definition Classes
    packet
-  package reset
  Definition Classes
    packet

p

net.psforever.packet

# control

#### package control


Ordering

1. Alphabetic

Visibility

1. Public
2. Protected

### Type Members

1.  final case class ClientStart (clientNonce: Long) extends PlanetSideControlPacket with Product with Serializable
2.  final case class ConnectionClose () extends PlanetSideControlPacket with Product with Serializable
3.  final case class ControlSync (timeDiff: Int, unk: Long, field1: Long, field2: Long, field3: Long, field4: Long, field64A: Long, field64B: Long) extends PlanetSideControlPacket with Product with Serializable

   Dispatched by the client periodically (approximately once every ten seconds).

   Dispatched by the client periodically (approximately once every ten seconds).

   timeDiff

     the exact number of milliseconds since the last `ControlSync` packet

   unk

     na

   field1

     na

   field2

     na

   field3

     na

   field4

     na

   field64A

     na; increments by 41 per packet

   field64B

     na; increments by 21 per packet

4.  final case class ControlSyncResp (timeDiff: Int, serverTick: Long, field1: Long, field2: Long, field3: Long, field4: Long) extends PlanetSideControlPacket with Product with Serializable

   The response packet dispatched by the server to a client's `ControlSync` packet.

   The response packet dispatched by the server to a client's `ControlSync` packet. As noted, it echoes most of the fields originating from within its companion packet except for `serverTick`.

   timeDiff

     na; echoes `ControlSync.timeDiff`

   serverTick

     na

   field1

     na; echoes `ControlSync.field64A`

   field2

     na; echoes `ControlSync.field64B`

   field3

     na; echoes `ControlSync.field64B` (+/- 1)

   field4

     na; echoes `ControlSync.field64A`

5.  final case class HandleGamePacket (len: Int, stream: ByteVector, rest: BitVector = BitVector.empty) extends PlanetSideControlPacket with Product with Serializable
6.  final case class MultiPacket (packets: Vector[ByteVector]) extends PlanetSideControlPacket with Product with Serializable
7.  final case class MultiPacketEx (packets: Vector[ByteVector]) extends PlanetSideControlPacket with Product with Serializable
8.  final case class RelatedA (slot: Int, subslot: Int) extends PlanetSideControlPacket with Product with Serializable

   Dispatched from the client in regards to errors trying to process prior `ControlPackets`.

   Dispatched from the client in regards to errors trying to process prior `ControlPackets`. Explains which packet was in error by sending back its `subslot` number.

   slot

     the type of `ResultA` packet; valid types are integers 0-3

   subslot

     identification of a control packet

9.  final case class RelatedB (slot: Int, subslot: Int) extends PlanetSideControlPacket with Product with Serializable

   Dispatched to coordinate information regarding `ControlPacket` packets between the client and server.

   Dispatched to coordinate information regarding `ControlPacket` packets between the client and server. When dispatched by the client, it relates the current (or last received) `SlottedMetaPacket` `subslot` number back to the server. When dispatched by the server, it relates ???

   slot

     the type of `ResultB` packet; valid types are integers 0-3

   subslot

     identification of a control packet

10.  final case class ServerStart (clientNonce: Long, serverNonce: Long) extends PlanetSideControlPacket with Product with Serializable
11.  final case class SlottedMetaPacket (slot: Int, subslot: Int, packet: ByteVector) extends PlanetSideControlPacket with Product with Serializable
12.  final case class TeardownConnection (targetNonce: Long) extends PlanetSideControlPacket with Product with Serializable
13.  final case class Unknown30 (clientNonce: Long) extends PlanetSideControlPacket with Product with Serializable

### Value Members

1.  object ClientStart extends Marshallable[ClientStart] with Serializable
2.  object ConnectionClose extends Marshallable[ConnectionClose] with Serializable
3.  object ControlSync extends Marshallable[ControlSync] with Serializable
4.  object ControlSyncResp extends Marshallable[ControlSyncResp] with Serializable
5.  object HandleGamePacket extends Marshallable[HandleGamePacket] with Serializable
6.  object MultiPacket extends Marshallable[MultiPacket] with Serializable
7.  object MultiPacketEx extends Marshallable[MultiPacketEx] with Serializable
8.  object RelatedA extends Marshallable[RelatedA] with Serializable
9.  object RelatedB extends Marshallable[RelatedB] with Serializable
10.  object ServerStart extends Marshallable[ServerStart] with Serializable
11.  object SlottedMetaPacket extends Marshallable[SlottedMetaPacket] with Serializable
12.  object TeardownConnection extends Marshallable[TeardownConnection] with Serializable
13.  object Unknown30 extends Marshallable[Unknown30] with Serializable

### Ungrouped