- add: interaction part 2

This commit is contained in:
2024-02-23 18:52:03 +03:00
parent 28c8b45eec
commit 2ec981e9e6
22 changed files with 608 additions and 79 deletions

View File

@@ -0,0 +1,38 @@
using Content.Shared._Amour.InteractionPanel;
namespace Content.Server._Amour.InteractionPanel;
public sealed class Interactions : EntitySystem
{
public override void Initialize()
{
SubscribeLocalEvent<InteractionPanelComponent,InteractionBeginningEvent>(OnBegin);
SubscribeLocalEvent<InteractionPanelComponent,InteractionEndingEvent>(OnEnd);
}
private void OnEnd(EntityUid uid, InteractionPanelComponent component, InteractionEndingEvent args)
{
if(args.Handled)
return;
Logger.Debug(args.Id + " END");
switch (args.Id)
{
}
}
private void OnBegin(EntityUid uid, InteractionPanelComponent component, InteractionBeginningEvent args)
{
if(args.Handled)
return;
Logger.Debug(args.Id + " START");
switch (args.Id)
{
}
}
}