19 lines
610 B
C#
19 lines
610 B
C#
using Content.Shared.Examine;
|
|
|
|
namespace Content.Shared.Construction.Steps
|
|
{
|
|
[Serializable]
|
|
[ImplicitDataDefinitionForInheritors]
|
|
public abstract partial class ConstructionGraphStep
|
|
{
|
|
[DataField("completed", serverOnly: true)] private IGraphAction[] _completed = Array.Empty<IGraphAction>();
|
|
|
|
[DataField("doAfter")] public float DoAfter { get; private set; }
|
|
|
|
public IReadOnlyList<IGraphAction> Completed => _completed;
|
|
|
|
public abstract void DoExamine(ExaminedEvent examinedEvent);
|
|
public abstract ConstructionGuideEntry GenerateGuideEntry();
|
|
}
|
|
}
|