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