Class UtilityVerb
These verbs are similar to the normal interaction verbs, except these interactions are facilitated by the currently held entity.
Namespace: Content.Shared.Verbs
Assembly: Content.Shared.dll
Syntax
public sealed class UtilityVerb : Verb
Remarks
The only notable difference between these and InteractionVerbs is that they are obtained by raising an event directed at the currently held entity. Distinguishing between utility and interaction verbs helps avoid confusion if a component enables verbs both when the item is used on something else, or when it is the target of an interaction. These verbs are only obtained if the target and the held entity are NOT the same.
Constructors
| Improve this Doc View SourceUtilityVerb()
Declaration
public UtilityVerb()
Properties
| Improve this Doc View SourceDefaultDoContactInteraction
Declaration
public override bool DefaultDoContactInteraction { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceTypePriority
Declaration
public override int TypePriority { get; }
Property Value
Type | Description |
---|---|
System.Int32 |