Table of Contents

Class TuningPackageAddedSimData

Namespace
LlamaLogic.TuningArchive
Assembly
LlamaLogic.TuningArchive.dll

Represents the SimData of tuning a package adds (rather than overrides), checked against SimData generated from the tuning with the tuning descriptions of the game version the package is being updated for

public sealed class TuningPackageAddedSimData
Inheritance
TuningPackageAddedSimData
Inherited Members

Remarks

The tuning descriptions say which columns the game version expects, so SimData made for an older version can be found missing columns without the game having SimData for the tuning.

Properties

ExtraColumns

Gets the columns, as Schema.column, the SimData has that the tuning descriptions don't give

public IReadOnlyList<string> ExtraColumns { get; }

Property Value

IReadOnlyList<string>

HasScriptBeside

Gets whether the package has a script mod beside it, in the same folder, which could add tunables to the game that no tuning description has

public bool HasScriptBeside { get; }

Property Value

bool

Key

Gets the key of the SimData

public ResourceKey Key { get; }

Property Value

ResourceKey

LeftOutTunables

Gets the tunables, with values, that the tuning leaves out (so the tuning descriptions' defaults apply) but the SimData has other values for, which adding to the tuning makes the SimData generated from it have

public IReadOnlyList<string> LeftOutTunables { get; }

Property Value

IReadOnlyList<string>

Message

Gets what is wrong with the SimData, for the creator

public string Message { get; }

Property Value

string

MismatchedHashes

Gets the schemas whose hashes don't match their columns

public IReadOnlyList<string> MismatchedHashes { get; }

Property Value

IReadOnlyList<string>

MissingColumns

Gets the columns, as Schema.column, the tuning descriptions give that the SimData doesn't have

public IReadOnlyList<string> MissingColumns { get; }

Property Value

IReadOnlyList<string>

MistypedColumns

Gets the columns, as Schema.column, whose types aren't what the tuning descriptions give

public IReadOnlyList<string> MistypedColumns { get; }

Property Value

IReadOnlyList<string>

Name

Gets the name of the tuning

public string? Name { get; }

Property Value

string

Problems

Gets what is wrong with the SimData

public TuningPackageAddedSimDataProblems Problems { get; }

Property Value

TuningPackageAddedSimDataProblems

TuningKey

Gets the key of the tuning

public ResourceKey TuningKey { get; }

Property Value

ResourceKey

Methods

Plan(TuningPackageAddedSimDataFixes)

Gets what the specified fixes do to the SimData

public TuningPackageAddedSimDataPlan Plan(TuningPackageAddedSimDataFixes fixes)

Parameters

fixes TuningPackageAddedSimDataFixes

Returns

TuningPackageAddedSimDataPlan