Class AgentDeathInformation
Death certificates for Agents
Inheritance
System.Object
AgentDeathInformation
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class AgentDeathInformation : object
Properties
Cause
The cause of death. See Reason or IsCauseExpedition, IsCauseAttacked, IsCauseTrait, IsCauseKnown to figure out what is returned here
Declaration
public object Cause { get; }
Property Value
Type | Description |
---|---|
System.Object |
Description
A description of the cause of death
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
IsCauseAttacked
Whether this death was caused by an attack by another Agent
Declaration
public bool IsCauseAttacked { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsCauseExpedition
Whether this death was caused by an ExpeditionEvent
Declaration
public bool IsCauseExpedition { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsCauseKnown
Whether we knew why this death occurred
Declaration
public bool IsCauseKnown { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsCauseTrait
Whether this death was caused by a Trait
Declaration
public bool IsCauseTrait { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Reason
The reason the Agent died
Declaration
public EDeathReason Reason { get; }
Property Value
Type | Description |
---|---|
EDeathReason |
Victim
The Agent that died
Declaration
public Agent Victim { get; }
Property Value
Type | Description |
---|---|
Agent |