Class TribePreviews.PreviewInfo
The data that PolyMod uses to make the preview of one tribe.
public record TribePreviews.PreviewInfo : IEquatable<TribePreviews.PreviewInfo>
- Inheritance
-
TribePreviews.PreviewInfo
- Implements
- Inherited Members
Constructors
PreviewInfo(int, SaveStateData, PreviewTile[])
The data that PolyMod uses to make the preview of one tribe.
public PreviewInfo(int arrayIdx, SaveStateData saveStateData, TribePreviews.PreviewTile[] customPreview)
Parameters
arrayIdxintThe index of the preview in
TribePreviewRegistry.saveStateDatas. For a tribe without a game preview, it is the index of the fallback preview.saveStateDataSaveStateDataThe game preview that PolyMod changes.
customPreviewPreviewTile[]The tile changes from the mod.
Properties
arrayIdx
The index of the preview in TribePreviewRegistry.saveStateDatas.
For a tribe without a game preview, it is the index of the fallback preview.
public int arrayIdx { get; init; }
Property Value
customPreview
The tile changes from the mod.
public TribePreviews.PreviewTile[] customPreview { get; init; }
Property Value
saveStateData
The game preview that PolyMod changes.
public SaveStateData saveStateData { get; init; }
Property Value
- SaveStateData