Table of Contents

Struct PluginMoveProgress

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

One channel's most recent client-driven move. Sequence grows by one for every move begun on any channel, so a plugin can tell its own move from a later one. Covered is meters, or degrees for a turn, whatever the move's unit.

public readonly record struct PluginMoveProgress : IEquatable<PluginMoveProgress>
Implements
Inherited Members

Constructors

PluginMoveProgress(long, PluginMoveState, PluginMoveDirection, PluginMovePace, float, PluginMoveUnit, float, float)

One channel's most recent client-driven move. Sequence grows by one for every move begun on any channel, so a plugin can tell its own move from a later one. Covered is meters, or degrees for a turn, whatever the move's unit.

public PluginMoveProgress(long Sequence, PluginMoveState State, PluginMoveDirection Direction, PluginMovePace Pace, float Amount, PluginMoveUnit Unit, float Covered, float ElapsedSeconds)

Parameters

Sequence long
State PluginMoveState
Direction PluginMoveDirection
Pace PluginMovePace
Amount float
Unit PluginMoveUnit
Covered float
ElapsedSeconds float

Properties

Amount

public float Amount { get; init; }

Property Value

float

Covered

public float Covered { get; init; }

Property Value

float

Direction

public PluginMoveDirection Direction { get; init; }

Property Value

PluginMoveDirection

ElapsedSeconds

public float ElapsedSeconds { get; init; }

Property Value

float

Pace

public PluginMovePace Pace { get; init; }

Property Value

PluginMovePace

Sequence

public long Sequence { get; init; }

Property Value

long

State

public PluginMoveState State { get; init; }

Property Value

PluginMoveState

Unit

public PluginMoveUnit Unit { get; init; }

Property Value

PluginMoveUnit