Table of Contents

Struct CreateAccountBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Broadcast sent by the client to create a new account, containing SRP username, salt, and verifier.

public struct CreateAccountBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Fields

Age

Encrypted age value as UTF-8 string bytes (AES-GCM).

public byte[] Age

Field Value

byte[]

Email

Encrypted email address (AES-GCM).

public byte[] Email

Field Value

byte[]

Profile

Encrypted RegistrationProfile serialisation (AES-GCM): phone, beta code, country, real name, address, referral account and the verification choice, as ONE field. Always sent — an empty profile is still a serialisation — so the sequence arithmetic never depends on what the player filled in.

public byte[] Profile

Field Value

byte[]

Salt

SRP salt for password hashing.

public byte[] Salt

Field Value

byte[]

Seq

Explicit message sequence number (client->server): the sequence of Profile, the last of the six encrypted fields. See SrpService.ServerDecryptRegistrationFields.

public uint Seq

Field Value

uint

Username

SRP username as a byte array.

public byte[] Username

Field Value

byte[]

Verifier

SRP verifier for password authentication.

public byte[] Verifier

Field Value

byte[]