2022-02-10 16:27:34 +13:00
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Pointing;
|
|
|
|
|
|
|
|
|
|
// TODO just make pointing properly predicted?
|
2023-09-11 09:42:41 +10:00
|
|
|
// So true
|
2022-02-10 16:27:34 +13:00
|
|
|
/// <summary>
|
|
|
|
|
/// Event raised when someone runs the client-side pointing verb.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public sealed class PointingAttemptEvent : EntityEventArgs
|
|
|
|
|
{
|
2023-09-11 09:42:41 +10:00
|
|
|
public NetEntity Target;
|
2022-02-10 16:27:34 +13:00
|
|
|
|
2023-09-11 09:42:41 +10:00
|
|
|
public PointingAttemptEvent(NetEntity target)
|
2022-02-10 16:27:34 +13:00
|
|
|
{
|
|
|
|
|
Target = target;
|
|
|
|
|
}
|
|
|
|
|
}
|