Content PR for YAML hot reloading (#3319)
* Content PR for YAML hot reloading * Add CanAdminReloadPrototypes (host permission) * IndexedPrototype fixes
This commit is contained in:
@@ -10,7 +10,7 @@ using YamlDotNet.RepresentationModel;
|
||||
namespace Content.Shared.Construction
|
||||
{
|
||||
[Prototype("constructionGraph")]
|
||||
public class ConstructionGraphPrototype : IPrototype, IIndexedPrototype
|
||||
public class ConstructionGraphPrototype : IPrototype
|
||||
{
|
||||
private readonly Dictionary<string, ConstructionGraphNode> _nodes = new();
|
||||
private readonly Dictionary<ValueTuple<string, string>, ConstructionGraphNode[]> _paths = new();
|
||||
|
||||
@@ -7,7 +7,7 @@ using YamlDotNet.RepresentationModel;
|
||||
namespace Content.Shared.Construction
|
||||
{
|
||||
[Prototype("construction")]
|
||||
public class ConstructionPrototype : IPrototype, IIndexedPrototype
|
||||
public class ConstructionPrototype : IPrototype
|
||||
{
|
||||
private List<IConstructionCondition> _conditions;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user