2021-06-09 22:19:39 +02:00
|
|
|
using Content.Shared.Paper;
|
2022-03-12 13:26:06 -05:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Server.Paper
|
2020-02-11 20:01:05 -03:00
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
2022-04-08 17:37:22 -06:00
|
|
|
public sealed class PaperComponent : SharedPaperComponent
|
2020-02-11 20:01:05 -03:00
|
|
|
{
|
2022-03-12 13:26:06 -05:00
|
|
|
public PaperAction Mode;
|
2021-05-15 16:43:19 +01:00
|
|
|
[DataField("content")]
|
2021-11-11 04:29:11 +03:00
|
|
|
public string Content { get; set; } = "";
|
2020-02-11 20:01:05 -03:00
|
|
|
|
2022-01-17 19:24:09 +00:00
|
|
|
[DataField("contentSize")]
|
|
|
|
|
public int ContentSize { get; set; } = 500;
|
|
|
|
|
|
2022-04-08 17:37:22 -06:00
|
|
|
[DataField("stampedBy")]
|
|
|
|
|
public List<string> StampedBy { get; set; } = new();
|
|
|
|
|
/// <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
|
|
|
}
|
|
|
|
|
}
|