Show / Hide Table of Contents

Class SharedVerbSystem

Inheritance
System.Object
SharedVerbSystem
VerbSystem
VerbSystem
Namespace: Content.Shared.Verbs
Assembly: Content.Shared.dll
Syntax
public abstract class SharedVerbSystem : EntitySystem

Fields

| Improve this Doc View Source

ContainerSystem

Declaration
protected readonly SharedContainerSystem ContainerSystem
Field Value
Type Description
Robust.Shared.Containers.SharedContainerSystem

Methods

| Improve this Doc View Source

ExecuteVerb(Verb, EntityUid, EntityUid, Boolean)

Execute the provided verb.

Declaration
public virtual void ExecuteVerb(Verb verb, EntityUid user, EntityUid target, bool forced = false)
Parameters
Type Name Description
Verb verb
EntityUid user
EntityUid target
System.Boolean forced
Remarks

This will try to call the action delegates and raise the local events for the given verb.

| Improve this Doc View Source

GetLocalVerbs(EntityUid, EntityUid, List<Type>, Boolean)

Raises a number of events in order to get all verbs of the given type(s) defined in local systems. This does not request verbs from the server.

Declaration
public SortedSet<Verb> GetLocalVerbs(EntityUid target, EntityUid user, List<Type> types, bool force = false)
Parameters
Type Name Description
EntityUid target
EntityUid user
List<Type> types
System.Boolean force
Returns
Type Description
SortedSet<Verb>
| Improve this Doc View Source

GetLocalVerbs(EntityUid, EntityUid, Type, Boolean)

Raises a number of events in order to get all verbs of the given type(s) defined in local systems. This does not request verbs from the server.

Declaration
public SortedSet<Verb> GetLocalVerbs(EntityUid target, EntityUid user, Type type, bool force = false)
Parameters
Type Name Description
EntityUid target
EntityUid user
Type type
System.Boolean force
Returns
Type Description
SortedSet<Verb>
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾