Table of Contents

Class AreaRotatePlacementTracker<TTransform, TCoordinate>

Namespace
Root
Assembly
SPZGameAssembly.dll
public class AreaRotatePlacementTracker<TTransform, TCoordinate> : IRotatePlacementTracker, IPlacementTracker where TTransform : ITransform<TCoordinate, TTransform> where TCoordinate : IEquatable<TCoordinate>

Type Parameters

TTransform
TCoordinate
Inheritance
object
AreaRotatePlacementTracker<TTransform, TCoordinate>
Implements
Extension Methods

Constructors

AreaRotatePlacementTracker(string, string)

public AreaRotatePlacementTracker(string rotateCwKeybinding, string rotateCcwKeybinding)

Parameters

rotateCwKeybinding string
rotateCcwKeybinding string

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