AutoLink port from Outer Rim (#10967)

* C# half of Outer Rim commit 5081906bd17e715ecae422dd7a003d9f103e6884 "autolink gaming."

Ported from Outer Rim with permission.

* YAML half of Outer Rim commit 5081906bd17e715ecae422dd7a003d9f103e6884 "autolink gaming."

Ported from Outer Rim with permission.

* commit fixed AL summary

Co-authored-by: Moony <moonheart08@users.noreply.github.com>

* NewLinkEvent.User & LinkAttemptEvent.User now nullable, fix possible AccessReaderSystem AutoLink bug

Co-authored-by: Moony <moonheart08@users.noreply.github.com>
This commit is contained in:
20kdc
2022-09-03 19:30:57 +01:00
committed by GitHub
parent dbc5ffa9e7
commit 547af7c7e8
9 changed files with 212 additions and 15 deletions

View File

@@ -0,0 +1,12 @@
namespace Content.Server.MachineLinking.Components;
/// <summary>
/// This is used for automatic linkage with various receivers, like shutters.
/// </summary>
[RegisterComponent]
public sealed class AutoLinkTransmitterComponent : Component
{
[DataField("channel", required: true, readOnly: true)]
public string AutoLinkChannel = default!;
}