Table of Contents

Struct AccountVerifyBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Broadcast sent by the client to verify an account using a verification code received after account creation.

public struct AccountVerifyBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Fields

Channel

Which channel's code this is: email (0, the value every verification had before SMS) or SMS.

public VerificationCodeChannel Channel

Field Value

VerificationCodeChannel

Remarks

In the clear, outside the AEAD. Flipping it gains nothing: each channel's code is stored and redeemed separately, so a code sent against the wrong channel simply does not match, and both channels count against the same per-IP and per-username verification lockouts.

Seq

Explicit message sequence number (client->server).

public uint Seq

Field Value

uint

Username

Encrypted account username (AES-GCM).

public byte[] Username

Field Value

byte[]

VerifyCode

Encrypted verification code as UTF-8 string bytes (AES-GCM).

public byte[] VerifyCode

Field Value

byte[]