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
Namespace: Content.Server.Destructible.Thresholds.Triggers
Assembly: Content.Server.dll
Syntax
public sealed class DamageGroupTrigger : object, IThresholdTrigger
Properties
| Improve this Doc View SourceDamage
The amount of damage at which this threshold will trigger.
Declaration
public int Damage { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DamageGroup
Declaration
public string DamageGroup { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceReached(DamageableComponent, DestructibleSystem)
Declaration
public bool Reached(DamageableComponent damageable, DestructibleSystem system)
Parameters
Type | Name | Description |
---|---|---|
DamageableComponent | damageable | |
DestructibleSystem | system |
Returns
Type | Description |
---|---|
System.Boolean |