Show / Hide Table of Contents

Interface IThresholdTrigger

Namespace: Content.Server.Destructible.Thresholds.Triggers
Assembly: Content.Server.dll
Syntax
public interface IThresholdTrigger

Methods

| Improve this Doc View Source

Reached(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.

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