* 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
17 lines
628 B
C#
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);
|
|
}
|
|
}
|