Struct ContractSnapshot
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
One tracked quest contract as the client currently understands it. The text fields are empty when the client has no description for the contract in its loaded content.
public readonly record struct ContractSnapshot : IEquatable<ContractSnapshot>
- Implements
- Inherited Members
Constructors
ContractSnapshot(uint, uint, uint, bool, string, string, string)
One tracked quest contract as the client currently understands it. The text fields are empty when the client has no description for the contract in its loaded content.
public ContractSnapshot(uint ContractId, uint Stage, uint Progress, bool IsDisplayed, string Name = "", string Description = "", string Status = "")
Parameters
ContractIduintThe contract's id.
StageuintHow far along the contract the character is.
ProgressuintThe contract's progress counter at this stage.
IsDisplayedboolWhether this is the contract the character has chosen to track.
NamestringThe contract's title, or empty when unknown.
DescriptionstringThe contract's long description, or empty when unknown.
StatusstringThe one-line progress text for the current stage, or empty when the client has no description to build it from.
Properties
ContractId
The contract's id.
public uint ContractId { get; init; }
Property Value
Description
The contract's long description, or empty when unknown.
public string Description { get; init; }
Property Value
IsDisplayed
Whether this is the contract the character has chosen to track.
public bool IsDisplayed { get; init; }
Property Value
Name
The contract's title, or empty when unknown.
public string Name { get; init; }
Property Value
Progress
The contract's progress counter at this stage.
public uint Progress { get; init; }
Property Value
Stage
How far along the contract the character is.
public uint Stage { get; init; }
Property Value
Status
The one-line progress text for the current stage, or empty when the client has no description to build it from.
public string Status { get; init; }