Files
tbd-station-14/Content.Shared/Pointing/PointingEvents.cs
Nemanja f16ff3a2d9 Rat King Milsim + Buffs (#20190)
* rat king update

* rummaging

* buuuuunnnnncccchhh of shit

* the last of it

* make rat servants not ghost roles

* pissma buff and cooldown
2023-09-22 15:01:05 -05:00

34 lines
881 B
C#

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