Class TuningSimDataDrafter
- Namespace
- LlamaLogic.TuningArchive
- Assembly
- LlamaLogic.TuningArchive.dll
Generates the SimData that overrides of a snapshot's tuning need, trusting the result only when the generator reproduces the game's own SimData for the original tuning
public sealed class TuningSimDataDrafter
- Inheritance
-
TuningSimDataDrafter
- Inherited Members
Remarks
The generator learns the entries of dynamic enumerations from the snapshot's module tuning, the names of its tuning, and, for each tuning, the column orders of its own SimData. Strings the game writes as null and the generator writes as empty count as the same, since the game and Sims 4 Studio read both as empty.
Methods
Create(TuningArchiveFile, TuningArchiveSnapshot, TuningDescriptionSet)
Creates a drafter for the tuning of the specified snapshot in the specified archive, which generates SimData with the specified descriptions
public static TuningSimDataDrafter Create(TuningArchiveFile archive, TuningArchiveSnapshot snapshot, TuningDescriptionSet descriptions)
Parameters
archiveTuningArchiveFilesnapshotTuningArchiveSnapshotdescriptionsTuningDescriptionSet
Returns
Draft(TuningArchiveEntry, string)
Generates the SimData an override of the specified tuning with the specified draftText needs
public TuningSimDataDraftResult Draft(TuningArchiveEntry tuning, string draftText)
Parameters
tuningTuningArchiveEntrydraftTextstring