using Robust.Shared.Serialization;
namespace Content.Shared.Pointing;
// TODO just make pointing properly predicted?
// So true
///
/// Event raised when someone runs the client-side pointing verb.
///
[Serializable, NetSerializable]
public sealed class PointingAttemptEvent : EntityEventArgs
{
public NetEntity Target;
public PointingAttemptEvent(NetEntity target)
{
Target = target;
}
}
///
/// Raised on the entity who is pointing after they point at something.
///
///
[ByRefEvent]
public readonly record struct AfterPointedAtEvent(EntityUid Pointed);
///
/// Raised on an entity after they are pointed at by another entity.
///
///
[ByRefEvent]
public readonly record struct AfterGotPointedAtEvent(EntityUid Pointer);