Makes construction graphs turing complete (#3516)

* Makes construction graphs turing complete

* Improvements
This commit is contained in:
Vera Aguilera Puerto
2021-03-08 05:09:17 +01:00
committed by GitHub
parent 2648ba4e57
commit 13e95ac9a8
12 changed files with 583 additions and 7 deletions

View File

@@ -12,8 +12,8 @@ namespace Content.Server.Construction.Completions
[DataDefinition]
public class PopupUser : IGraphAction
{
[DataField("cursor")] public bool Cursor { get; private set; } = false;
[DataField("text")] public string Text { get; private set; } = string.Empty;
[field: DataField("cursor")] public bool Cursor { get; } = false;
[field: DataField("text")] public string Text { get; } = string.Empty;
public async Task PerformAction(IEntity entity, IEntity? user)
{