using Robust.Shared.Prototypes; namespace Content.Shared.InteractionVerbs.Events; /// /// Raised directly on the user entity to get more interaction verbs it may allow. /// While InteractionVerbsComponent defines which verbs may be performed on the entity, /// This event allows to also define which verbs the entity itself may perform.

/// /// Note that this is raised before IsAllowed checks are performed on any of the verbs. ///
[ByRefEvent] public sealed class GetInteractionVerbsEvent(List> verbs) { public List> Verbs = verbs; public bool Add(ProtoId verb) { if (Verbs.Contains(verb)) return false; Verbs.Add(verb); return true; } }