2020-12-13 14:28:20 -08:00
|
|
|
|
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
|
|
|
|
|
|
{
|
2021-02-04 17:44:49 +01:00
|
|
|
|
void IExposeData.ExposeData(ObjectSerializer serializer)
|
2020-12-13 14:28:20 -08:00
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|