Show / Hide Table of Contents

Class UtilityVerb

These verbs are similar to the normal interaction verbs, except these interactions are facilitated by the currently held entity.

Inheritance
System.Object
Verb
UtilityVerb
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 Source

UtilityVerb()

Declaration
public UtilityVerb()

Properties

| Improve this Doc View Source

DefaultDoContactInteraction

Declaration
public override bool DefaultDoContactInteraction { get; }
Property Value
Type Description
System.Boolean
Overrides
Verb.DefaultDoContactInteraction
| Improve this Doc View Source

TypePriority

Declaration
public override int TypePriority { get; }
Property Value
Type Description
System.Int32
Overrides
Verb.TypePriority
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾