2021-06-09 22:19:39 +02:00
|
|
|
|
using Content.Server.Destructible.Thresholds;
|
2020-12-23 13:34:57 +01:00
|
|
|
|
using Robust.Shared.GameObjects;
|
2020-12-07 14:52:55 +01:00
|
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
|
namespace Content.Server.Destructible
|
2020-12-07 14:52:55 +01:00
|
|
|
|
{
|
|
|
|
|
|
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; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|