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.
- Listed in World generation
- Nested in
PopulationDefinition
Constructors
| Member | What it is |
|---|---|
FestivePrefabGroup() | Creates a PopulationDefinition.FestivePrefabGroup with default values. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private Festivity festivity | The festivity that turns the group on. |
private uint[] prefabHashes | Backing field for PrefabHashes. |
Properties
| Member | What 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: