* rat king update * rummaging * buuuuunnnnncccchhh of shit * the last of it * make rat servants not ghost roles * pissma buff and cooldown
34 lines
881 B
C#
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);
|