Interface IThresholdTrigger
Namespace: Content.Server.Destructible.Thresholds.Triggers
Assembly: Content.Server.dll
Syntax
public interface IThresholdTrigger
Methods
| Improve this Doc View SourceReached(DamageableComponent, DestructibleSystem)
Checks if this trigger has been reached.
Declaration
bool Reached(DamageableComponent damageable, DestructibleSystem system)
Parameters
Type | Name | Description |
---|---|---|
DamageableComponent | damageable | The damageable component to check with. |
DestructibleSystem | system | An instance of DestructibleSystem to pull dependencies from, if any. |
Returns
Type | Description |
---|---|
System.Boolean | true if this trigger has been reached, false otherwise. |