Package

net.psforever.packet

control

Permalink

package control

Visibility
  1. Public
  2. All

Type Members

  1. final case class ClientStart(clientNonce: Long) extends PlanetSideControlPacket with Product with Serializable

    Permalink
  2. final case class ConnectionClose() extends PlanetSideControlPacket with Product with Serializable

    Permalink
  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

    Permalink

    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

    Permalink

    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

    Permalink
  6. final case class MultiPacket(packets: Vector[ByteVector]) extends PlanetSideControlPacket with Product with Serializable

    Permalink
  7. final case class MultiPacketBundle(packets: List[PlanetSidePacket]) extends Product with Serializable

    Permalink

    Message for holding a series of packets being moved through the system (server), eventually be bundled into a MultiPacketEx and dispatched to the client.

    Message for holding a series of packets being moved through the system (server), eventually be bundled into a MultiPacketEx and dispatched to the client. Invalid packets are eliminated at the time of creation. At least one packet is necessary.

    packets

    a series of packets to be bundled together; this list is effectively immutable; the only way to access these packets is through pattern matching

  8. class MultiPacketCollector extends AnyRef

    Permalink

    Accumulator for packets that will eventually be bundled and submitted for composing a MultiPacketEx packet.

  9. final case class MultiPacketEx(packets: Vector[ByteVector]) extends PlanetSideControlPacket with Product with Serializable

    Permalink
  10. final case class RelatedA(slot: Int, subslot: Int) extends PlanetSideControlPacket with Product with Serializable

    Permalink

    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

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

    Permalink

    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

  12. final case class ServerStart(clientNonce: Long, serverNonce: Long) extends PlanetSideControlPacket with Product with Serializable

    Permalink
  13. final case class SlottedMetaPacket(slot: Int, subslot: Int, packet: ByteVector) extends PlanetSideControlPacket with Product with Serializable

    Permalink
  14. final case class TeardownConnection(targetNonce: Long) extends PlanetSideControlPacket with Product with Serializable

    Permalink

Value Members

  1. object ClientStart extends Marshallable[ClientStart] with Serializable

    Permalink
  2. object ConnectionClose extends Marshallable[ConnectionClose] with Serializable

    Permalink
  3. object ControlSync extends Marshallable[ControlSync] with Serializable

    Permalink
  4. object ControlSyncResp extends Marshallable[ControlSyncResp] with Serializable

    Permalink
  5. object HandleGamePacket extends Marshallable[HandleGamePacket] with Serializable

    Permalink
  6. object MultiPacket extends Marshallable[MultiPacket] with Serializable

    Permalink
  7. object MultiPacketBundle extends Serializable

    Permalink
  8. object MultiPacketCollector

    Permalink
  9. object MultiPacketEx extends Marshallable[MultiPacketEx] with Serializable

    Permalink
  10. object RelatedA extends Marshallable[RelatedA] with Serializable

    Permalink
  11. object RelatedB extends Marshallable[RelatedB] with Serializable

    Permalink
  12. object ServerStart extends Marshallable[ServerStart] with Serializable

    Permalink
  13. object SlottedMetaPacket extends Marshallable[SlottedMetaPacket] with Serializable

    Permalink
  14. object TeardownConnection extends Marshallable[TeardownConnection] with Serializable

    Permalink

Ungrouped