Skip to main content

PopulationDefinition.FestivePrefabGroup

A private class in Root.Township, Alta.Populations. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Private: prefabs a population spawns instead of its normal ones while a festivity is active. The first active group wins.

Constructors​

MemberWhat it is
FestivePrefabGroup()Creates a PopulationDefinition.FestivePrefabGroup with default values.

Fields​

2 private and internal fields
MemberWhat it is
private Festivity festivityThe festivity that turns the group on.
private uint[] prefabHashesBacking field for PrefabHashes.

Properties​

MemberWhat it is
bool IsActive { get; }Whether the group's festivity is active now.
uint[] PrefabHashes { get; }Prefab hashes to pick from while active.

Used in​

Members of other types that take, return or hold a FestivePrefabGroup: