mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-11-13 22:44:16 +03:00
24 lines
813 B
C#
24 lines
813 B
C#
using Content.Server.Notification;
|
|
using Content.Shared.Actions.Behaviors;
|
|
using JetBrains.Annotations;
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
|
|
namespace Content.Server.Actions.Actions
|
|
{
|
|
[UsedImplicitly]
|
|
[DataDefinition]
|
|
public class DebugTargetEntity : ITargetEntityAction, ITargetEntityItemAction
|
|
{
|
|
public void DoTargetEntityAction(TargetEntityItemActionEventArgs args)
|
|
{
|
|
args.Performer.PopupMessageEveryone(args.Item.Name + ": Clicked " +
|
|
args.Target.Name);
|
|
}
|
|
|
|
public void DoTargetEntityAction(TargetEntityActionEventArgs args)
|
|
{
|
|
args.Performer.PopupMessageEveryone("Clicked " +
|
|
args.Target.Name);
|
|
}
|
|
}
|
|
}
|