* 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>
21 lines
701 B
C#
21 lines
701 B
C#
namespace Content.Shared.MachineLinking.Events
|
|
{
|
|
public sealed class LinkAttemptEvent : CancellableEntityEventArgs
|
|
{
|
|
public readonly EntityUid Transmitter;
|
|
public readonly EntityUid Receiver;
|
|
public readonly EntityUid? User;
|
|
public readonly string TransmitterPort;
|
|
public readonly string ReceiverPort;
|
|
|
|
public LinkAttemptEvent(EntityUid? user, EntityUid transmitter, string transmitterPort, EntityUid receiver, string receiverPort)
|
|
{
|
|
User = user;
|
|
Transmitter = transmitter;
|
|
TransmitterPort = transmitterPort;
|
|
Receiver = receiver;
|
|
ReceiverPort = receiverPort;
|
|
}
|
|
}
|
|
}
|