Show / Hide Table of Contents

Class SuicideEvent

Raised Directed at an entity to check whether they will handle the suicide.

Inheritance
System.Object
SuicideEvent
Namespace: Content.Shared.Interaction.Events
Assembly: Content.Shared.dll
Syntax
public sealed class SuicideEvent : EntityEventArgs

Constructors

| Improve this Doc View Source

SuicideEvent(EntityUid)

Declaration
public SuicideEvent(EntityUid victim)
Parameters
Type Name Description
EntityUid victim

Properties

| Improve this Doc View Source

AttemptBlocked

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

Handled

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

Kind

Declaration
public SuicideKind? Kind { get; }
Property Value
Type Description
System.Nullable<SuicideKind>
| Improve this Doc View Source

Victim

Declaration
public EntityUid Victim { get; }
Property Value
Type Description
EntityUid

Methods

| Improve this Doc View Source

BlockSuicideAttempt(Boolean)

Declaration
public void BlockSuicideAttempt(bool suicideAttempt)
Parameters
Type Name Description
System.Boolean suicideAttempt
| Improve this Doc View Source

SetHandled(SuicideKind)

Declaration
public void SetHandled(SuicideKind kind)
Parameters
Type Name Description
SuicideKind kind
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾