mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
* Add option to adminfax for locking papers. * Replace dummy control with margin (cherry picked from commit e8b3042a3874b839f0c3898864f64ecb547ef8ba)
31 lines
824 B
C#
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;
|
|
}
|