Show / Hide Table of Contents

Class EnsnareableSystem

Inheritance
System.Object
SharedEnsnareableSystem
EnsnareableSystem
Namespace: Content.Server.Ensnaring
Assembly: Content.Server.dll
Syntax
public sealed class EnsnareableSystem : SharedEnsnareableSystem

Methods

| Improve this Doc View Source

ForceFree(EntityUid, EnsnaringComponent)

Used to force free someone for things like if the EnsnaringComponent is removed

Declaration
public void ForceFree(EntityUid ensnare, EnsnaringComponent component)
Parameters
Type Name Description
EntityUid ensnare
EnsnaringComponent component
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
Overrides
SharedEnsnareableSystem.Initialize()
| Improve this Doc View Source

InitializeEnsnaring()

Declaration
public void InitializeEnsnaring()
| Improve this Doc View Source

TryEnsnare(EntityUid, EntityUid, EnsnaringComponent)

Declaration
public void TryEnsnare(EntityUid target, EntityUid ensnare, EnsnaringComponent component)
Parameters
Type Name Description
EntityUid target
EntityUid ensnare
EnsnaringComponent component
| Improve this Doc View Source

TryFree(EntityUid, EntityUid, EntityUid, EnsnaringComponent)

Used where you want to try to free an entity with the EnsnareableComponent

Declaration
public void TryFree(EntityUid target, EntityUid user, EntityUid ensnare, EnsnaringComponent component)
Parameters
Type Name Description
EntityUid target

The entity that will be freed

EntityUid user

The entity that is freeing the target

EntityUid ensnare

The entity used to ensnare

EnsnaringComponent component

The ensnaring component

| Improve this Doc View Source

UpdateAlert(EntityUid, EnsnareableComponent)

Update the Ensnared alert for an entity.

Declaration
public void UpdateAlert(EntityUid target, EnsnareableComponent component)
Parameters
Type Name Description
EntityUid target

The entity that has been affected by a snare

EnsnareableComponent component
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾