Skip to main content

RepairableObject

A struct in Root.Township, Features.Gameplay.GameConditions.

A game-condition entry naming a repairable object by prefab hash and the build state it must reach.

Constructors​

MemberWhat it is
RepairableObject(uint targetHash, RepairableObjectBuildState requirement)Creates a RepairableObject from targetHash and requirement.

Fields​

2 private and internal fields
MemberWhat it is
private RepairableObjectBuildState requirementBacking field for Requirement.
private uint targetHashBacking field for TargetHash.

Properties​

MemberWhat it is
RepairableObjectBuildState Requirement { get; }The RepairableObjectBuildState the object must be in.
uint TargetHash { get; }Hash of the repairable object this entry checks.

Used in​

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