Files
wwdpublic/Content.Server/Paper/PaperComponent.cs
dffdff2423 9e5165661e Add an option to the admin fax menu to lock papers such that they can't be edited by cybersun pens (#28972)
* Add option to adminfax for locking papers.

* Replace dummy control with margin

(cherry picked from commit e8b3042a3874b839f0c3898864f64ecb547ef8ba)
2025-07-12 01:13:24 +10:00

31 lines
824 B
C#

using Content.Shared.Paper;
namespace Content.Server.Paper;
[RegisterComponent]
public sealed partial class PaperComponent : SharedPaperComponent
{
public PaperAction Mode;
[DataField("content")]
public string Content { get; set; } = "";
[DataField("contentSize")]
public int ContentSize { get; set; } = 6000;
[DataField("stampedBy")]
public List<StampDisplayInfo> StampedBy { get; set; } = new();
[DataField("canEdit")]
[ViewVariables(VVAccess.ReadWrite)]
public bool CanEdit { get; set; } = true; // DeltaV - Used for paper slips
/// <summary>
/// Stamp to be displayed on the paper, state from beauracracy.rsi
/// </summary>
[DataField("stampState")]
public string? StampState { get; set; }
[DataField]
public bool EditingDisabled = false;
}