Table of Contents

Class JBeamSlot

Namespace
LibreRally.Vehicle.JBeam
Assembly
LibreRally.dll

Describes a BeamNG slot, its filler part, and its display text.

public record JBeamSlot : IEquatable<JBeamSlot>
Inheritance
JBeamSlot
Implements
Inherited Members

Constructors

JBeamSlot(string, string, string, bool, Vector3?)

Describes a BeamNG slot, its filler part, and its display text.

public JBeamSlot(string Type, string Default, string Description, bool CoreSlot, Vector3? NodeOffset = null)

Parameters

Type string

Slot type identifier.

Default string

Default part name that fills the slot.

Description string

Human-readable slot description.

CoreSlot bool

Whether the slot must be filled for the vehicle to function.

NodeOffset Vector3?

Optional node offset applied to the installed part.

Properties

CoreSlot

Whether the slot must be filled for the vehicle to function.

public bool CoreSlot { get; init; }

Property Value

bool

Default

Default part name that fills the slot.

public string Default { get; init; }

Property Value

string

Description

Human-readable slot description.

public string Description { get; init; }

Property Value

string

NodeOffset

Optional node offset applied to the installed part.

public Vector3? NodeOffset { get; init; }

Property Value

Vector3?

Type

Slot type identifier.

public string Type { get; init; }

Property Value

string