2020-12-23 13:34:57 +01:00
|
|
|
|
using Content.Server.GameObjects.Components.Destructible.Thresholds;
|
|
|
|
|
|
using Robust.Shared.GameObjects;
|
2020-12-07 14:52:55 +01:00
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.GameObjects.Components.Destructible
|
|
|
|
|
|
{
|
|
|
|
|
|
public class DestructibleThresholdReachedMessage : ComponentMessage
|
|
|
|
|
|
{
|
2021-02-05 13:41:05 +01:00
|
|
|
|
public DestructibleThresholdReachedMessage(DestructibleComponent parent, Threshold threshold)
|
2020-12-07 14:52:55 +01:00
|
|
|
|
{
|
|
|
|
|
|
Parent = parent;
|
|
|
|
|
|
Threshold = threshold;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public DestructibleComponent Parent { get; }
|
|
|
|
|
|
|
|
|
|
|
|
public Threshold Threshold { get; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|