Table of Contents

Class ChatRelayQuery

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

One read of the chat table by a reader that takes every game row: the Discord relay.

public sealed class ChatRelayQuery
Inheritance
ChatRelayQuery
Inherited Members

Remarks

The same window as ChatPumpQuery (see ChatReadWindow), without the relevance filter or the echo rule: the relay scans every row for account-link codes and decides for itself which channels it republishes. Rows bridged in from Discord are never returned, so the relay cannot echo its own traffic.

Properties

ExcludeIds

Row IDs the reader has already handled. See ExcludeIds.

public long[] ExcludeIds { get; set; }

Property Value

long[]

FromUtc

Oldest time_created to read, by the database clock. Null starts at the database's own "now", for a reader that has not read before — so a reader that starts does not replay history.

public DateTime? FromUtc { get; set; }

Property Value

DateTime?

MaxPages

Most pages read in one call. Reading continues while a page comes back full, so this is what bounds one call's work when the reader has fallen behind.

public int MaxPages { get; set; }

Property Value

int

PageSize

Rows per page.

public int PageSize { get; set; }

Property Value

int