ConstructionGL2 Part 2: Better guided steps and recipes. (#5103)
This commit is contained in:
committed by
GitHub
parent
5be8271907
commit
5a5006e4cf
27
Content.Shared/Construction/ConstructionGuide.cs
Normal file
27
Content.Shared/Construction/ConstructionGuide.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Shared.Construction
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class ConstructionGuide
|
||||
{
|
||||
public readonly ConstructionGuideEntry[] Entries;
|
||||
|
||||
public ConstructionGuide(ConstructionGuideEntry[] entries)
|
||||
{
|
||||
Entries = entries;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class ConstructionGuideEntry
|
||||
{
|
||||
public int? EntryNumber { get; set; } = null;
|
||||
public int Padding { get; set; } = 0;
|
||||
public string Localization { get; set; } = string.Empty;
|
||||
public (string, object)[]? Arguments { get; set; } = null;
|
||||
public SpriteSpecifier? Icon { get; set; } = null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user