machine linking refactor to ecs (#4323)
* started work * some more work, ui working (somewhat) * stuff * reorganization * some more reorg * conveyors * conveyors working * finalized (dis)connection added linkattempt added feedback text work on conveyors * removed command add rangecheck * fixed inrange check * handling * ui no longer kanser, ship it * adresses reviews * reformats file * reformats file Co-authored-by: Paul <ritter.paul1+git@googlemail.com>
This commit is contained in:
23
Content.Server/MachineLinking/Events/LinkAttemptEvent.cs
Normal file
23
Content.Server/MachineLinking/Events/LinkAttemptEvent.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Content.Server.MachineLinking.Components;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Server.MachineLinking.Events
|
||||
{
|
||||
public class LinkAttemptEvent : CancellableEntityEventArgs
|
||||
{
|
||||
public readonly IEntity Attemptee;
|
||||
public readonly SignalTransmitterComponent TransmitterComponent;
|
||||
public readonly string TransmitterPort;
|
||||
public readonly SignalReceiverComponent ReceiverComponent;
|
||||
public readonly string ReceiverPort;
|
||||
|
||||
public LinkAttemptEvent(IEntity attemptee, SignalTransmitterComponent transmitterComponent, string transmitterPort, SignalReceiverComponent receiverComponent, string receiverPort)
|
||||
{
|
||||
TransmitterComponent = transmitterComponent;
|
||||
this.TransmitterPort = transmitterPort;
|
||||
ReceiverComponent = receiverComponent;
|
||||
this.ReceiverPort = receiverPort;
|
||||
Attemptee = attemptee;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user