Namespace FishMMO.Database.Data
Namespaces
Classes
- AccountAdminData
An account as an operator needs to see it.
- AccountAdminPage
One page of AccountAdminData, with the total the pager needs.
- AccountAdminQuery
The filter an operator account search applies.
- AccountBetaCodeData
One account's permanent link to a code it redeemed.
- AccountProfileData
The optional contact and identity details an account holder gives at registration.
- AccountProfileRules
The rules for the optional contact and identity details on an account.
- AccountVerificationRules
Which verification codes an account is sent and asked for. One copy, shared by the game's login server and the Control Panel, so the two can never disagree about whether an account is let in.
- AdminAuditData
One recorded operator action.
- AdminAuditPage
One page of audit rows, newest first.
- AdminAuditQuery
Filters for an audit-log search. Every field is optional.
- ArenaMatchComposer
Decides which waiters fill which team of an arena match. Pure, so it is testable without a database and so the transaction that applies it has nothing to decide.
- BetaCodeData
One beta code, as staff see it.
- BetaCodeFormat
The shape of a beta code, and of the program name a batch of codes is minted under.
- BetaCodePage
One page of beta codes.
- BetaCodeQuery
Filters for a beta code search.
- BetaProgramSummary
Totals for one beta program.
- CharacterAdminData
A character as an operator needs to see it.
- CharacterAdminEdit
The fields an operator may change on an existing character.
- CharacterAdminPage
One page of CharacterAdminData, with the total the pager needs.
- ChatAdminData
One persisted chat message as an operator needs to see it.
- ChatAdminPage
One page of ChatAdminData, with the total the pager needs.
- ChatAdminQuery
The filter an operator chat search applies.
- ChatPumpPage
The result of one ChatPumpQuery or ChatRelayQuery.
- ChatPumpQuery
One read of the cross-server chat pump: where to start, what the reader has already seen, and which rows are worth sending it at all.
- ChatReadWindow
Where a reader of the chat table has got to, and which rows it has already handled, on the database clock. Pure bookkeeping: no database, no network, one thread at a time.
- ChatRelayQuery
One read of the chat table by a reader that takes every game row: the Discord relay.
- DaemonAppData
One supervised application, as the daemon last reported it.
- DaemonAppEventData
One observed change in a supervised application.
- DaemonAppEventPage
One page of observed application events.
- DaemonAppReport
What a daemon reports about one application on each cycle.
- DaemonCommandData
One instruction for a daemon.
- DaemonCommandExpiry
Whether a claimed daemon command may still be executed, judged without the daemon's wall clock.
- DaemonCommandPage
One page of daemon commands.
- DaemonHostData
A machine running a daemon, with what it supervises.
- DeploymentSecretInfo
What is known about a deployment secret, without the secret.
- DiscordVerification
The Discord verification DM, and the constants its sender and its issuers share.
- EmailQueueAdminData
One outbound email, as an operator needs to see it.
- EmailQueueCounts
How many rows are in each state.
- EmailQueuePage
One page of the email queue, with the numbers that say whether it is moving.
- EmailRetryResult
What a retry did, or why it did nothing.
- GroupFinderQueueAdminData
One character waiting in, or matched out of, the group finder queue.
- GroupFinderQueueCounts
How many group finder rows are in each state.
- GroupFinderQueuePage
One page of the group finder queue.
- GuildAdminData
One guild, as a support agent needs to see it in a list.
- GuildAdminDetail
One guild in full: the row, its ladder, its roster and its pending applications.
- GuildAdminPage
One page of guilds, with the total the pager needs.
- GuildApplicantAdminData
One pending application to join a guild.
- GuildLogAdminData
One row of a guild's activity log.
- GuildLogPage
One page of a guild's activity log.
- GuildMemberAdminData
One member of a guild, with the character behind the membership row.
- GuildRankAdminData
One rung of a guild's rank ladder.
- KickRequestPage
What one poll of the kick requests returned.
- KickRequestPollQuery
One poll of the kick requests: where it reads from, and what the reader has already handled.
- KickRequestReadWindow
Where a game server's poll of the kick requests has got to, and which requests it has already handled, on the database clock. Pure bookkeeping: no database, no network, one poll at a time.
- LeaderboardPageData
A contiguous slice of a board, with the board's size as read in the same call.
- MaintenanceOperationData
One planned maintenance window: what it covers, when it lands, and where it has got to.
- MaintenanceTargetData
One server inside a maintenance operation, and what has been observed of it.
- MaintenanceTargetKinds
The two server tiers a maintenance operation can target.
- MaintenanceTargetRequest
One server an operator wants included in a maintenance operation.
- PartyAdminData
One party, with its roster.
- PartyAdminPage
One page of parties, each carrying its roster.
- PartyMemberAdminData
One member of a party.
- SceneInstanceAdminData
One live scene instance.
- SceneInstancePage
One page of scene instances.
- ServerAdminData
One server process, as an operator needs to see it.
- ServerBandwidthKind
Which tier a bandwidth row belongs to, as stored in
server_kind.
- ServerBandwidthKindPointRow
One tier's servers summed at one chart point, as the report query returns them.
- ServerBandwidthMath
The rules the bandwidth tables are read and written by, as pure functions.
- ServerBandwidthPointRow
One server's rates at one point (its latest minute, or its peak), as the report query returns them.
- ServerBandwidthPruneResult
What one retention pass did.
- ServerBandwidthRates
Rates at one point: a server's latest minute, one chart bucket, or a peak. Bytes and datagrams per second; the wire rates are estimates derived from the measured ones.
- ServerBandwidthReport
Everything the bandwidth page shows, read as one snapshot.
- ServerBandwidthReportBuilder
Assembles the bandwidth page from what the report queries return. Pure, so the rules — "no data" is null, a tier sums only servers that reported, a peak is the busiest point of the summed series — are testable without a database.
- ServerBandwidthRollupResult
What one rollup pass did.
- ServerBandwidthServerSummary
One server on the bandwidth page.
- ServerBandwidthTierSummary
A tier's servers added together, or every server (Kind 0).
- ServerBandwidthTotals
Traffic summed over a window: the measured totals, and the wire estimate derived from them.
- ServerBandwidthWindowRow
One server's totals over one fixed window, as the report query returns them.
- ServerBoardData
Every server the shard knows about, in one read.
- SmsQueueAdminData
One outbound text message, as an operator needs to see it.
- SmsQueuePage
One page of the SMS queue, with the numbers that say whether it is moving.
- SmsRetryResult
What an SMS retry did, or why it did nothing.
- SupportTicketCreate
A new ticket, as filed.
- SupportTicketData
A support ticket, as staff and players read it.
- SupportTicketMessageData
One message on a ticket.
- SupportTicketPage
One page of tickets.
- SupportTicketQuery
Filters for a ticket search. Every field is optional.
- TwoFactorResetRequestData
A delayed two-factor reset request.
- TwoFactorResetRequestPage
One page of reset requests.
- VersionExtensions
Extension methods for working with versioned DTOs. These helpers ensure callers explicitly increment versions before persist operations. Because DTOs are immutable structs, these methods return new instances with incremented versions.
- WorldClockLimits
Bounds every world clock write is held to, here and in the table's check constraints.
- WorldClockReading
The world clock row as one statement read it, with the database clock it was read against.
- WorldClockText
The written forms of world time, shared by every surface that reads or writes the world clock (the Control Panel, and available to the in-game
/admin timecommands) so the two can never disagree about what a typed value means.
Structs
- AccountData
Account data transfer object.
- ArenaBackfillData
The result of filling a vacated seat from the queue.
- ArenaCandidate
One waiter as the composer sees it: who, which pre-made group they queued with, and where they stand in line.
- ArenaComposeOptions
How a match is composed beyond seat counts.
- ArenaHistoryData
One line of a character's match history: the match and their own seat in it.
- ArenaMatchData
Arena match data transfer object.
- ArenaMatchFormedData
The result of the group finder forming an arena match: the instance opened for it, the match row, and every seat.
- ArenaMatchMemberData
Arena match seat data transfer object.
- ArenaPenaltyData
A queue lock.
- ArenaRatingData
One character's rating in one season.
- ArenaRatingSource
Where the arena former reads a candidate's rating from.
- ArenaSeasonData
A ranked season.
- ArenaSeat
One seat in a composed match.
- AuthLockoutState
An account's sign-in lockout, as stored.
- AuthTokenData
Data transfer object for an issued authentication token record.
- CharacterAbilityData
Character ability data transfer object.
- CharacterAchievementData
Character achievement data transfer object.
- CharacterArchetypeData
Character archetype data transfer object.
- CharacterAttributeData
Character attribute data transfer object.
- CharacterBuffData
Character buff data transfer object.
- CharacterChatMuteState
Both mutes that can silence a character: its own, and its account's.
- CharacterData
Character data transfer object.
- CharacterDialogueChoiceData
One character's persisted "already chosen" bitmask for a single dialogue template.
- CharacterFactionData
Character faction data transfer object.
- CharacterFriendData
Character friend data transfer object.
- CharacterGuildData
Character guild membership data transfer object.
- CharacterHotkeyData
Character hotkey data transfer object.
- CharacterItemCooldownData
Character item cooldown data transfer object.
- CharacterItemData
One item belonging to a character, in whichever container currently holds it.
- CharacterKnownAbilityData
Character known ability data transfer object.
- CharacterLockState
A character's staff lock, as stored.
- CharacterMailAttachmentData
The attachment taken off one mail by a successful claim.
- CharacterMailData
Character mail data transfer object.
- CharacterNameData
A character's ID paired with its display name.
- CharacterPartyData
Character party membership data transfer object.
- CharacterPersistRequest
One character row to write in a batched save, with the claim that authorises it.
- CharacterPersistResult
One character's outcome from a batched save.
- CharacterPetAttributeData
Character pet attribute data transfer object.
- CharacterPetBuffData
Character pet buff data transfer object.
- CharacterPetData
Character pet data transfer object.
- CharacterPortalData
One page of the portals a character has activated for themselves in one scene: a 64-bit mask where bit N is portal
page * 64 + N.
- CharacterQuestData
Character quest data transfer object.
- CharacterSessionLeaseData
Identifies a single claimed character session for a batched lease refresh.
- CharacterSkillData
Character skill data transfer object.
- CharacterWaypointData
One page of a character's discovered waypoints in one scene: a 64-bit mask where bit N is waypoint
page * 64 + N.
- ChatData
Chat message data transfer object.
- ChatMuteData
A chat mute as one row stores it: on an account, or on a single character.
- ConnectionTokenKeyData
Data transfer object for a connection token HMAC key. Represents a single active key used for signing/verifying stateless connection tokens between the IpFetchServer (signing) and game servers (verification).
- DiscordAccountLink
A game account's link to a Discord user.
- DiscordVerificationDelivery
One verification DM waiting to be sent.
- EmailQueueData
Data transfer object for a pending email in the outbound queue.
- GroupFinderMatchData
The result of the group finder forming a group: the party it created, the instance it opened for them, and who is in it.
- GroupFinderPulseData
One queue row as the heartbeat left it, with the character's party membership when the row names a party.
- GroupFinderQueueData
Group finder queue row data transfer object.
- GroupFinderQueueKey
What a queue row is waiting for: one kind of instance, one scene, one difficulty or format.
- GuildApplicationData
One pending application to join a guild.
- GuildData
Guild data transfer object.
- GuildDirectoryEntryData
One guild as it appears in the recruitment directory.
- GuildLogData
One guild activity log row.
- GuildRankData
One editable guild rank: an ordering position, a display name and a permission mask.
- GuildUpdateData
Guild update data transfer object.
- KickRequestData
Kick request data transfer object.
- LeaderboardQuery
Which board to read: the source column, which template or season it is filtered to, and who is eligible to appear on it.
- LeaderboardRowData
One ranked character on a board.
- LeaderboardStandingData
One character's place on a board, wherever it falls.
- LoginServerData
Login server registration data transfer object.
- LoginServerSigningKeyData
Data transfer object for a LoginServer's HMAC signing key.
- PartyData
Party data transfer object.
- PartyUpdateData
Party update data transfer object.
- PasswordResetTokenData
Data transfer object for an outstanding password reset token.
- PlotAccessData
Plot access grant data transfer object.
- PlotData
Plot data transfer object.
- PlotStructureData
Plot structure data transfer object.
- PlotTaxCharge
One bill to charge an owner nobody is hosting, as the sweep read and priced it.
- PlotTaxChargeResult
The outcome of one PlotTaxCharge.
- PlotUpdateData
Plot update data transfer object.
- PlotUpdatePollData
One poll of
plot_updates: the marks it found, and the database time it was taken at.
- PlotVaultData
House vault entry data transfer object.
- QuestData
Quest data transfer object.
- SceneData
Scene data transfer object.
- SceneServerData
Scene server registration data transfer object.
- ServerBandwidthSample
One minute a server process writes about itself: the difference in its transport's counters over an interval that ended in BucketStartUtc. Measured values only.
- ServerControlState
The operator-controlled lifecycle state of a world or scene server.
- SmsQueueData
Data transfer object for a pending text message in the outbound SMS queue.
- TwoFactorRecoveryCodeData
Data transfer object for a two-factor recovery code record.
- UpdatePumpRead<T>
One read of a party or guild update pump: the rows, and the database's own clock when the read began.
- WebSessionData
A Control Panel browser session, as read back from the database.
- WorldPortalStateData
A portal opened for everyone in the world: either for good, or until a moment.
- WorldServerData
World server registration data transfer object.
Interfaces
- IVersioned<T>
Marker interface for immutable DTOs that carry a logical version for optimistic concurrency. Implement this interface on any Data transfer object that participates in version-gated persistence.
Enums
- AuthFailureKind
The two things a sign-in can be locked out of.
- CharacterPersistOutcome
What became of one row of a batched character save.
- EmailKind
What an outbound email in
email_queueis for.
- EmailQueueState
Where an email queue row is in its life.
- GuildLogEventType
The kind of event a guild log row records.
- ItemContainerType
Which of a character's containers an item row belongs to.
- PlotTaxChargeOutcome
How one offline tax charge ended.
- ServerBandwidthRange
The span the bandwidth page charts, and the resolution it charts it at.
- ServerBandwidthWindow
Which window a ServerBandwidthWindowRow sums.
- SmsKind
What an outbound text message in
sms_queueis for.