Files
tbd-station-14/Content.Server/Destructible/Thresholds/Behaviors/IThresholdBehavior.cs
Chief-Engineer 95e35b94b5 Improve explosion logs (#13351)
* add types to explosion logs

* make explosions logged by default

* add cause parameter to IThresholdBehavior

* add cause to ExplodeBehaviors

* add cause to power cell explosions

* remove useless log

* add triggerer to triggers

* add logs for damage from explosions

* sneaky power cell update
2023-02-10 23:45:38 +00:00

17 lines
628 B
C#

namespace Content.Server.Destructible.Thresholds.Behaviors
{
public interface IThresholdBehavior
{
/// <summary>
/// Executes this behavior.
/// </summary>
/// <param name="owner">The entity that owns this behavior.</param>
/// <param name="system">
/// An instance of <see cref="DestructibleSystem"/> to pull dependencies
/// and other systems from.
/// </param>
/// <param name="cause">The entity that caused this behavior.</param>
void Execute(EntityUid owner, DestructibleSystem system, EntityUid? cause = null);
}
}