29 lines
832 B
C#
29 lines
832 B
C#
using Content.Server.Utility;
|
|
using Content.Shared.Actions;
|
|
using JetBrains.Annotations;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Server.Actions
|
|
{
|
|
[UsedImplicitly]
|
|
public class DebugTargetEntity : ITargetEntityAction, ITargetEntityItemAction
|
|
{
|
|
|
|
public void ExposeData(ObjectSerializer serializer)
|
|
{
|
|
}
|
|
|
|
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);
|
|
}
|
|
}
|
|
}
|