Table of Contents

Struct DiscordAccountLink

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

A game account's link to a Discord user.

public readonly struct DiscordAccountLink
Inherited Members

Constructors

Creates a link.

public DiscordAccountLink(string accountName, long discordUserId, string? discordUsername, DateTime? linkedAtUtc)

Parameters

accountName string
discordUserId long
discordUsername string
linkedAtUtc DateTime?

Fields

The game account.

public readonly string AccountName

Field Value

string

The Discord user's snowflake, stored signed.

public readonly long DiscordUserId

Field Value

long

The Discord username on the account, lowercase, or null.

public readonly string? DiscordUsername

Field Value

string

When the link was made, or null for a link older than the column.

public readonly DateTime? LinkedAtUtc

Field Value

DateTime?