mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 16:47:26 +00:00
* 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)
29 lines
798 B
C#
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; }
|
|
}
|