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
SequencelongStatePluginMoveStateDirectionPluginMoveDirectionPacePluginMovePaceAmountfloatUnitPluginMoveUnitCoveredfloatElapsedSecondsfloat
Properties
Amount
public float Amount { get; init; }
Property Value
Covered
public float Covered { get; init; }
Property Value
Direction
public PluginMoveDirection Direction { get; init; }
Property Value
ElapsedSeconds
public float ElapsedSeconds { get; init; }
Property Value
Pace
public PluginMovePace Pace { get; init; }
Property Value
Sequence
public long Sequence { get; init; }
Property Value
State
public PluginMoveState State { get; init; }
Property Value
Unit
public PluginMoveUnit Unit { get; init; }