Table of Contents

Struct PlotUpdatePollData

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

One poll of plot_updates: the marks it found, and the database time it was taken at.

public struct PlotUpdatePollData
Inherited Members

Remarks

The time is the database's, read before the marks were, because the marks are stamped by the database clock and the next poll's window has to be measured on the same clock. A poller that measured it on its own clock lost every change stamped inside however far that clock ran ahead of the database's.

Constructors

PlotUpdatePollData(List<PlotUpdateData>, DateTime)

public PlotUpdatePollData(List<PlotUpdateData> updates, DateTime asOfUtc)

Parameters

updates List<PlotUpdateData>
asOfUtc DateTime

Fields

AsOfUtc

The database clock (UTC) just before the marks were read. Every mark stamped at or after this is certain to be found again by a poll starting from it.

public readonly DateTime AsOfUtc

Field Value

DateTime

Updates

The marks found, one per changed plot.

public readonly List<PlotUpdateData> Updates

Field Value

List<PlotUpdateData>