Table of Contents

Struct DiscordVerificationDelivery

Namespace
FishMMO.Database.Data
Assembly
FishMMO-DB.dll

One verification DM waiting to be sent.

public readonly struct DiscordVerificationDelivery
Inherited Members

Constructors

DiscordVerificationDelivery(string, string, int, int, string?)

Creates a delivery.

public DiscordVerificationDelivery(string accountName, string discordUsername, int code, int attempts, string? lastError)

Parameters

accountName string
discordUsername string
code int
attempts int
lastError string

Fields

AccountName

The account the code verifies.

public readonly string AccountName

Field Value

string

Attempts

Sends Discord has refused so far.

public readonly int Attempts

Field Value

int

Code

The six-digit code.

public readonly int Code

Field Value

int

DiscordUsername

The Discord username to send it to, lowercase.

public readonly string DiscordUsername

Field Value

string

LastError

Why the last try did not send, or null.

public readonly string? LastError

Field Value

string