Skip to content

DotNet.Ships.Record.BuildSlot

github-actions[bot] edited this page Sep 23, 2026 · 12 revisions

EliteDangerousAlmanac / Ships / BuildSlot

Record: BuildSlot

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/BuildSlot.cs:28

One mount on a hull — its stable key, its kind and its size.

Remarks

Kind decides which of the two optional fields carries a value. A core mount names its Core function and carries no restriction; a hardpoint or an optional internal may carry a Restriction and never names a core function; a utility, armour or cargo-hatch mount carries neither.

Constructors

new BuildSlot()

new BuildSlot(Key, Kind, Size, Core?, Restriction?)

Parameters

Key

string

The stable, journal-compatible slot key, such as PowerPlant, HugeHardpoint1, Slot01_Size6 or Military01. Every slot-key argument takes this string, matched without regard to case and otherwise exactly. Enumerate the keys rather than typing them: the numbering looks regular and on some hulls is not.

Kind

SlotKind

Which kind of mount this is.

Size

int

The mount's class. Core, optional and hardpoint mounts are 1 to 8; a utility mount and the armour mount use 0, because their fit rules are not size-based; the cargo hatch uses 1.

Core

CoreSlotType? = null

The core function this mount accepts, on a core mount only.

Restriction

SlotRestriction? = null

The module family this mount requires, when it is restricted.

Properties

Core

Core: CoreSlotType?

The core function this mount accepts, on a core mount only.

Key

Key: string

The stable, journal-compatible slot key, such as PowerPlant, HugeHardpoint1, Slot01_Size6 or Military01. Every slot-key argument takes this string, matched without regard to case and otherwise exactly. Enumerate the keys rather than typing them: the numbering looks regular and on some hulls is not.

Kind

Kind: SlotKind

Which kind of mount this is.

Restriction

Restriction: SlotRestriction?

The module family this mount requires, when it is restricted.

Size

Size: int

The mount's class. Core, optional and hardpoint mounts are 1 to 8; a utility mount and the armour mount use 0, because their fit rules are not size-based; the cargo hatch uses 1.

.NET

Guides
Astronomy
Classes (16)
Records (29)
Enumerations (6)
Commodities
Classes (2)
Records (1)
Enumerations (1)
Equipment
Classes (8)
Records (19)
Enumerations (8)
GalaxyMap
Classes (1)
Records (1)
Localization
Classes (2)
Enumerations (1)
Materials
Classes (5)
Records (2)
Enumerations (4)
Ships
Classes (42)
Records (115)
Interfaces (1)
Enumerations (35)

Clone this wiki locally