Show / Hide Table of Contents

Class DamageGroupTrigger

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

Inheritance
System.Object
DamageGroupTrigger
Implements
IThresholdTrigger
Namespace: Content.Server.Destructible.Thresholds.Triggers
Assembly: Content.Server.dll
Syntax
public sealed class DamageGroupTrigger : 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
| Improve this Doc View Source

DamageGroup

Declaration
public string DamageGroup { 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
☀
☾