add(FaxComponent): Allows for setting defaults in the component. (#30484)
* add(FaxComponent): Allows for setting defaults in the component. This wires up the Fax component to allow the default paper and office paper to be set. The defaults are what they were before, and it's an optional option. Now Fax machines can be set to print different paper when using Print File or other cases where the default paper style is used. * Requested change to EntProtoId. * Fix build failure.
This commit is contained in:
@@ -127,6 +127,20 @@ public sealed partial class FaxMachineComponent : Component
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public float PrintingTime = 2.3f;
|
||||
|
||||
/// <summary>
|
||||
/// The prototype ID to use for faxed or copied entities if we can't get one from
|
||||
/// the paper entity for whatever reason.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public EntProtoId PrintPaperId = "Paper";
|
||||
|
||||
/// <summary>
|
||||
/// The prototype ID to use for faxed or copied entities if we can't get one from
|
||||
/// the paper entity for whatever reason of the Office type.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public EntProtoId PrintOfficePaperId = "PaperOffice";
|
||||
}
|
||||
|
||||
[DataDefinition]
|
||||
|
||||
Reference in New Issue
Block a user