Table of Contents

Struct ClientHandshakeDto

Namespace
FishMMO.Auth.Core
Assembly
FishMMO-AuthShared.dll

DTO for client handshake initiation, containing the ephemeral X25519 public key for ECDH key agreement and supported protocol version range. Mirrors ClientHandshake.

public struct ClientHandshakeDto
Inherited Members

Fields

Stateless cookie echoed from a prior server challenge. Null on initial handshake.

public byte[] Cookie

Field Value

byte[]

GameVersion

Client game version string (e.g. "0.1.0"). Mirrors ClientHandshake.GameVersion.

public string GameVersion

Field Value

string

MaxVersion

Maximum protocol version supported by this client.

public ushort MaxVersion

Field Value

ushort

MinVersion

Minimum protocol version supported by this client.

public ushort MinVersion

Field Value

ushort

PublicKey

Client's ephemeral X25519 public key (32 bytes).

public byte[] PublicKey

Field Value

byte[]