Struct TrekCondition
- Namespace
- Trailblazer.Navigation.Motor
- Assembly
- Trailblazer.dll
Represents the traversal state of a scout, including its movement medium and surface interactions.
public struct TrekCondition : IRecordable
- Implements
-
IRecordable
- Inherited Members
Constructors
TrekCondition()
Initializes a new instance of the TrekCondition class.
public TrekCondition()
Fields
CeilingLevel
Stores the height of the ceiling above the scout, if applicable. Defaults to Fixed64.MaxValue, meaning no ceiling.
public Fixed64 CeilingLevel
Field Value
- Fixed64
GroundState
Contains data about the ground state, if applicable.
public GroundCondition? GroundState
Field Value
Medium
Defines the medium in which the scout is currently moving.
public TraversalMedium Medium
Field Value
SurfaceLevel
Stores the height of the current surface, typically used for ground and water interactions.
public Fixed64 SurfaceLevel
Field Value
- Fixed64
Methods
Clone()
Creates a deep copy of the current TrekCondition instance.
public TrekCondition Clone()
Returns
RecordData(IChronicler)
Records the current instance state to the provided chronicler.
public void RecordData(IChronicler chronicler)
Parameters
chroniclerIChroniclerThe active chronicler pass.
Reset()
Resets the traversal condition to default values, indicating an unknown state.
public void Reset()