Device Linking and better linking ui (#13645)
Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com> Co-authored-by: Visne <39844191+Visne@users.noreply.github.com> Co-authored-by: ElectroJr <leonsfriedrich@gmail.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
namespace Content.Shared.MachineLinking.Events
|
||||
{
|
||||
public sealed class NewLinkEvent : EntityEventArgs
|
||||
{
|
||||
public readonly EntityUid Transmitter;
|
||||
public readonly EntityUid Receiver;
|
||||
public readonly EntityUid? User;
|
||||
public readonly string TransmitterPort;
|
||||
public readonly string ReceiverPort;
|
||||
|
||||
public NewLinkEvent(EntityUid? user, EntityUid transmitter, string transmitterPort, EntityUid receiver, string receiverPort)
|
||||
{
|
||||
User = user;
|
||||
Transmitter = transmitter;
|
||||
TransmitterPort = transmitterPort;
|
||||
Receiver = receiver;
|
||||
ReceiverPort = receiverPort;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.MachineLinking
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public enum TwoWayLeverVisuals : byte
|
||||
{
|
||||
State
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum TwoWayLeverState : byte
|
||||
{
|
||||
Middle,
|
||||
Right,
|
||||
Left
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user