Struct MovementSource
Assembly: cs.temp.dll.dll
Syntax
public struct MovementSource
Fields
disableMarker
When False, the unit will enable its target position marker that reserves the target movement position so no other unit will use the same target position as its movement destination.
Declaration
public bool disableMarker
Field Value
fromTasksQueue
True when the movement command is launched from a tasks queue
Declaration
public bool fromTasksQueue
Field Value
inMoveAttackChain
True when the movement is part of an attack-move command chain that was initiated by the player.
Declaration
public bool inMoveAttackChain
Field Value
isMoveAttackRequest
True when the movement is requesting to start a new move-attack chain.
Declaration
public bool isMoveAttackRequest
Field Value
isMoveAttackSource
True when the unit attack component moves the unit after it finishes attacking its current target when attack-move was enabled by the player for the unit in a previous movement command.
Declaration
public bool isMoveAttackSource
Field Value
playerCommand
Declaration
public bool playerCommand
Field Value
sourceTargetComponent
Declaration
public IEntityTargetComponent sourceTargetComponent
Field Value
Type |
Description |
IEntityTargetComponent |
|
targetAddableUnit
Declaration
public IAddableUnit targetAddableUnit
Field Value
Type |
Description |
IAddableUnit |
|
targetAddableUnitPosition
Declaration
public Vector3 targetAddableUnitPosition
Field Value
testTargetInRange
Declaration
public bool testTargetInRange
Field Value
Methods
BooleansToMask()
Declaration
public MovementSourceBooleans BooleansToMask()
Returns
IsTargetDestinationValid(TargetData<IEntity>)
Declaration
public bool IsTargetDestinationValid(TargetData<IEntity> target)
Parameters
Type |
Name |
Description |
TargetData<IEntity> |
target |
|
Returns