Table of Contents

Class TribePreviews.PreviewInfo

Namespace
PolyMod.Managers
Assembly
PolyMod.dll

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

arrayIdx int

The index of the preview in TribePreviewRegistry.saveStateDatas. For a tribe without a game preview, it is the index of the fallback preview.

saveStateData SaveStateData

The game preview that PolyMod changes.

customPreview PreviewTile[]

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

int

customPreview

The tile changes from the mod.

public TribePreviews.PreviewTile[] customPreview { get; init; }

Property Value

PreviewTile[]

saveStateData

The game preview that PolyMod changes.

public SaveStateData saveStateData { get; init; }

Property Value

SaveStateData