Files
Delta-v/Content.Server/Paper/PaperComponent.cs
T
metalgearsloth 1d63b4cfcb Content update for UI prediction (#27214)
* Content update for UI refactor

* Big update

* Sharing

* Remaining content updates

* First big update

* Prototype updates

* AUGH

* Fix UI comp ref

* Cleanup

- Fix predicted message, fix item slots, fix interaction range check.

* Fix regressions

* Make this predictive

idk why it wasn't.

* Fix slime merge

* Merge conflict

* Fix merge

(cherry picked from commit 5896e68752)
2024-05-03 00:15:32 +02:00

29 lines
798 B
C#

using Content.Shared.Paper;
using Robust.Shared.GameStates;
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; }
}