Show / Hide Table of Contents

Class DamageTypeTrigger

A trigger that will activate when the amount of damage received of the specified type is above the specified threshold.

Inheritance
System.Object
DamageTypeTrigger
Implements
IThresholdTrigger
Namespace: Content.Server.Destructible.Thresholds.Triggers
Assembly: Content.Server.dll
Syntax
public sealed class DamageTypeTrigger : object, IThresholdTrigger

Properties

| Improve this Doc View Source

Damage

Declaration
public int Damage { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

DamageType

Declaration
public string DamageType { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Reached(DamageableComponent, DestructibleSystem)

Declaration
public bool Reached(DamageableComponent damageable, DestructibleSystem system)
Parameters
Type Name Description
DamageableComponent damageable
DestructibleSystem system
Returns
Type Description
System.Boolean

Implements

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