Show / Hide Table of Contents

Class ConstructionGraphPrototype

Inheritance
System.Object
ConstructionGraphPrototype
Implements
Robust.Shared.Prototypes.IPrototype
Robust.Shared.Serialization.ISerializationHooks
Namespace: Content.Shared.Construction.Prototypes
Assembly: Content.Shared.dll
Syntax
public sealed class ConstructionGraphPrototype : object, IPrototype, ISerializationHooks

Properties

| Improve this Doc View Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Nodes

Declaration
public IReadOnlyDictionary<string, ConstructionGraphNode> Nodes { get; }
Property Value
Type Description
IReadOnlyDictionary<System.String, ConstructionGraphNode>
| Improve this Doc View Source

Start

Declaration
public string? Start { get; }
Property Value
Type Description
System.Nullable<System.String>

Methods

| Improve this Doc View Source

Edge(String, String)

Declaration
public ConstructionGraphEdge Edge(string startNode, string nextNode)
Parameters
Type Name Description
System.String startNode
System.String nextNode
Returns
Type Description
ConstructionGraphEdge
| Improve this Doc View Source

Path(String, String)

Declaration
public ConstructionGraphNode[] Path(string startNode, string finishNode)
Parameters
Type Name Description
System.String startNode
System.String finishNode
Returns
Type Description
ConstructionGraphNode[]
| Improve this Doc View Source

PathId(String, String)

Declaration
public string[] PathId(string startNode, string finishNode)
Parameters
Type Name Description
System.String startNode
System.String finishNode
Returns
Type Description
System.String[]
| Improve this Doc View Source

TryPath(String, String, out ConstructionGraphNode[])

Declaration
public bool TryPath(string startNode, string finishNode, out ConstructionGraphNode[] path)
Parameters
Type Name Description
System.String startNode
System.String finishNode
ConstructionGraphNode[] path
Returns
Type Description
System.Boolean

Explicit Interface Implementations

| Improve this Doc View Source

ISerializationHooks.AfterDeserialization()

Declaration
void ISerializationHooks.AfterDeserialization()

Implements

Robust.Shared.Prototypes.IPrototype
Robust.Shared.Serialization.ISerializationHooks
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾