Enum TuningPackageAddedSimDataFixes
- Namespace
- LlamaLogic.TuningArchive
- Assembly
- LlamaLogic.TuningArchive.dll
Specifies which fixes writing an updated package makes to the SimData of tuning it adds, and to that tuning
[Flags]
public enum TuningPackageAddedSimDataFixes
Fields
AddMissingColumns = 1The columns the tuning descriptions give but the SimData doesn't have are added, with values generated from the tuning, keeping every value the SimData has
All = AddMissingColumns | CorrectColumnTypes | RemoveExtraColumns | CorrectSchemaHashes | MatchTuning | AmendTuningAll of the fixes
AmendTuning = 32Tunables the tuning leaves out, but the SimData has other values for than their defaults, are added to the tuning with those values, when SimData generated from the amended tuning has them and nothing else changes
CorrectColumnTypes = 2Columns whose types aren't what the tuning descriptions give get those types, with values generated from the tuning
CorrectSchemaHashes = 8Schema hashes that don't match their columns are recomputed
MatchTuning = 16The SimData is replaced with SimData generated from the tuning, when every column of it can be generated reliably
None = 0The SimData is left as it is
RemoveExtraColumns = 4Columns the tuning descriptions don't give are removed, unless the package has a script mod beside it, which could add those tunables to the game
Remarks
A value is only ever taken from SimData generated from the mod's tuning when the generator reproduces that column in every SimData of the game's that has it. The SimData is changed only when, after the fixes, it has every column the tuning descriptions give, with their types.