2021-02-11 01:13:03 -08:00
|
|
|
using Content.Server.Utility;
|
2020-12-13 14:28:20 -08:00
|
|
|
using Content.Shared.Actions;
|
|
|
|
|
using JetBrains.Annotations;
|
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Actions
|
|
|
|
|
{
|
|
|
|
|
[UsedImplicitly]
|
|
|
|
|
public class DebugTargetPoint : ITargetPointAction, ITargetPointItemAction
|
|
|
|
|
{
|
2021-02-04 17:44:49 +01:00
|
|
|
void IExposeData.ExposeData(ObjectSerializer serializer)
|
2020-12-13 14:28:20 -08:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void DoTargetPointAction(TargetPointItemActionEventArgs args)
|
|
|
|
|
{
|
|
|
|
|
args.Performer.PopupMessageEveryone(args.Item.Name + ": Clicked local position " +
|
|
|
|
|
args.Target);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void DoTargetPointAction(TargetPointActionEventArgs args)
|
|
|
|
|
{
|
|
|
|
|
args.Performer.PopupMessageEveryone("Clicked local position " +
|
|
|
|
|
args.Target);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|