Table of Contents

Class PathStartRotationPlacementTracker<TPivot, TCoordinate, TDirection>

Namespace
Root
Assembly
SPZGameAssembly.dll
public class PathStartRotationPlacementTracker<TPivot, TCoordinate, TDirection> : IRotatePlacementTracker, IPlacementTracker, IPathStartRotationPlacementTracker where TPivot : IPivot<TCoordinate, TDirection, TPivot> where TDirection : struct, IDirection3D<TDirection>

Type Parameters

TPivot
TCoordinate
TDirection
Inheritance
object
PathStartRotationPlacementTracker<TPivot, TCoordinate, TDirection>
Implements
Extension Methods

Constructors

PathStartRotationPlacementTracker(string, string, GridRotation, bool)

public PathStartRotationPlacementTracker(string rotateKeybinding, string rotatedInvKeybinding, GridRotation rotation, bool alwaysPopulatePreferredDirection = false)

Parameters

rotateKeybinding string
rotatedInvKeybinding string
rotation GridRotation
alwaysPopulatePreferredDirection bool

Properties

OnRotate

public IEvent OnRotate { get; }

Property Value

IEvent

Methods

GetKeybindingHints()

public IEnumerable<PlacementKeybindingHintData> GetKeybindingHints()

Returns

IEnumerable<PlacementKeybindingHintData>

Track(InputDownstreamContext, Viewport, PlacementInputHolder, IReadOnlyMapLayoutModel, IPlacementData, IPlacementErrors, out bool)

public void Track(InputDownstreamContext inputContext, Viewport viewport, PlacementInputHolder placementInput, IReadOnlyMapLayoutModel map, IPlacementData placementData, IPlacementErrors placementErrors, out bool inputUpdated)

Parameters

inputContext InputDownstreamContext
viewport Viewport
placementInput PlacementInputHolder
map IReadOnlyMapLayoutModel
placementData IPlacementData
placementErrors IPlacementErrors
inputUpdated bool