Class MachinePartComponent
Inheritance
System.Object
MachinePartComponent
Namespace: Content.Shared.Construction.Components
Assembly: Content.Shared.dll
Syntax
public sealed class MachinePartComponent : Component
Fields
| Improve this Doc View SourceMaxRating
This number is used in tests to ensure that you can't use high quality machines for arbitrage. In principle there is nothing wrong with using higher quality parts, but you have to be careful to not allow them to be put into a lathe or something like that.
Declaration
public const int MaxRating = null
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Improve this Doc View SourcePartType
Declaration
public string PartType { get; }
Property Value
Type | Description |
---|---|
System.String |
Rating
Declaration
public int Rating { get; }
Property Value
Type | Description |
---|---|
System.Int32 |