Class TuningSimDataDraftResult
- Namespace
- LlamaLogic.TuningArchive
- Assembly
- LlamaLogic.TuningArchive.dll
Represents the SimData an override of a tuning needs
public sealed record TuningSimDataDraftResult : IEquatable<TuningSimDataDraftResult>
- Inheritance
-
TuningSimDataDraftResult
- Implements
- Inherited Members
Constructors
TuningSimDataDraftResult(TuningSimDataDraftKind, ResourceKey?, SimDataModel?, string)
Represents the SimData an override of a tuning needs
public TuningSimDataDraftResult(TuningSimDataDraftKind Kind, ResourceKey? Key, SimDataModel? SimData, string Message)
Parameters
KindTuningSimDataDraftKindWhether the override needs new SimData, and whether it could be generated
KeyResourceKey?The key of the tuning's SimData, if it has SimData
SimDataSimDataModelThe generated SimData, if
Kindis GeneratedMessagestringWhat happened, for the creator
Properties
Key
The key of the tuning's SimData, if it has SimData
public ResourceKey? Key { get; init; }
Property Value
Kind
Whether the override needs new SimData, and whether it could be generated
public TuningSimDataDraftKind Kind { get; init; }
Property Value
Message
What happened, for the creator
public string Message { get; init; }
Property Value
SimData
The generated SimData, if Kind is Generated
public SimDataModel? SimData { get; init; }