2021-06-09 22:19:39 +02:00
|
|
|
using Content.Shared.Paper;
|
2022-10-04 04:04:48 +03:00
|
|
|
using Robust.Shared.GameStates;
|
2022-03-12 13:26:06 -05:00
|
|
|
|
2023-08-13 19:28:10 +01:00
|
|
|
namespace Content.Server.Paper;
|
|
|
|
|
|
|
|
|
|
[NetworkedComponent, RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class PaperComponent : SharedPaperComponent
|
2020-02-11 20:01:05 -03:00
|
|
|
{
|
2023-08-13 19:28:10 +01:00
|
|
|
public PaperAction Mode;
|
|
|
|
|
[DataField("content")]
|
|
|
|
|
public string Content { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
[DataField("contentSize")]
|
|
|
|
|
public int ContentSize { get; set; } = 6000;
|
2020-02-11 20:01:05 -03:00
|
|
|
|
2023-08-13 19:28:10 +01:00
|
|
|
[DataField("stampedBy")]
|
|
|
|
|
public List<StampDisplayInfo> StampedBy { get; set; } = new();
|
2022-01-17 19:24:09 +00:00
|
|
|
|
2023-08-13 19:28:10 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Stamp to be displayed on the paper, state from beauracracy.rsi
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("stampState")]
|
|
|
|
|
public string? StampState { get; set; }
|
2020-02-11 20:01:05 -03:00
|
|
|
}
|