Struct PlotVaultData
House vault entry data transfer object.
public struct PlotVaultData
- Inherited Members
Remarks
Self-describing on purpose: BaseFee and FeeRatePerDay travel with the row so what it costs to retrieve is answerable from this and the clock alone, with no template loaded and no server configuration consulted. A player quoted a price when their house was taken should be charged that price, not whatever the rates happen to be today.
Constructors
PlotVaultData(long, long, int, int, long, DateTime, long, float)
public PlotVaultData(long id, long characterID, int templateID, int amount, long originalPlotID, DateTime storedAtUtc, long baseFee, float feeRatePerDay)
Parameters
idlongcharacterIDlongtemplateIDintamountintoriginalPlotIDlongstoredAtUtcDateTimebaseFeelongfeeRatePerDayfloat
Fields
Amount
How many are held.
public readonly int Amount
Field Value
BaseFee
The fee charged before any time had passed.
public readonly long BaseFee
Field Value
CharacterID
The character whose vault holds it.
public readonly long CharacterID
Field Value
FeeRatePerDay
How much of the base fee is added per day stored.
public readonly float FeeRatePerDay
Field Value
ID
Primary key.
public readonly long ID
Field Value
OriginalPlotID
The plot it came off.
public readonly long OriginalPlotID
Field Value
StoredAtUtc
When it was stored (UTC).
public readonly DateTime StoredAtUtc
Field Value
TemplateID
The structure template stored.
public readonly int TemplateID