Class ConstructionGraphPrototype
Inheritance
System.Object
ConstructionGraphPrototype
Implements
Robust.Shared.Prototypes.IPrototype
Robust.Shared.Serialization.ISerializationHooks
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
|
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
|
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
|
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
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