Show / Hide Table of Contents

Class DamageTrigger

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

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

Properties

| Improve this Doc View Source

Damage

The amount of damage at which this threshold will trigger.

Declaration
public int Damage { get; set; }
Property Value
Type Description
System.Int32

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
☀
☾