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.
- Listed in ATT, Features and other game namespaces
Constructors
| Member | What it is |
|---|---|
RepairableObject(uint targetHash, RepairableObjectBuildState requirement) | Creates a RepairableObject from targetHash and requirement. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private RepairableObjectBuildState requirement | Backing field for Requirement. |
private uint targetHash | Backing field for TargetHash. |
Properties
| Member | What 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: