Show / Hide Table of Contents

Class ConstructionPrototype

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

Fields

| Improve this Doc View Source

CanRotate

Whether this construction can be constructed rotated or not.

Declaration
public bool CanRotate
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Description

"Useful" description displayed in the construction GUI.

Declaration
public string Description
Field Value
Type Description
System.String
| Improve this Doc View Source

Graph

The ConstructionGraphPrototype this construction will be using.

Declaration
public string Graph
Field Value
Type Description
System.String
| Improve this Doc View Source

Hide

Hide from the construction list

Declaration
public bool Hide
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Icon

Texture path inside the construction GUI.

Declaration
public SpriteSpecifier Icon
Field Value
Type Description
Robust.Shared.Utility.SpriteSpecifier
| Improve this Doc View Source

Mirror

Construction to replace this construction with when the current one is 'flipped'

Declaration
public string? Mirror
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

Name

Friendly name displayed in the construction GUI.

Declaration
public string Name
Field Value
Type Description
System.String
| Improve this Doc View Source

PlacementMode

Declaration
public string PlacementMode
Field Value
Type Description
System.String
| Improve this Doc View Source

StartNode

The starting ConstructionGraphNode this construction will start at.

Declaration
public string StartNode
Field Value
Type Description
System.String
| Improve this Doc View Source

TargetNode

The target ConstructionGraphNode this construction will guide the user to.

Declaration
public string TargetNode
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

CanBuildInImpassable

If you can start building or complete steps on impassable terrain.

Declaration
public bool CanBuildInImpassable { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Category

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

Conditions

Declaration
public IReadOnlyList<IConstructionCondition> Conditions { get; }
Property Value
Type Description
IReadOnlyList<IConstructionCondition>
| Improve this Doc View Source

ID

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

Layers

Declaration
public IReadOnlyList<SpriteSpecifier> Layers { get; }
Property Value
Type Description
IReadOnlyList<Robust.Shared.Utility.SpriteSpecifier>
| Improve this Doc View Source

Type

Declaration
public ConstructionType Type { get; }
Property Value
Type Description
ConstructionType

Implements

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