Navigation
API > API/Plugins > API/Plugins/MassAIReplication
References
| Module | MassAIReplication |
| Header | /Engine/Plugins/AI/MassAI/Source/MassAIReplication/Public/MassReplicationPathHandlers.h |
| Include | #include "MassReplicationPathHandlers.h" |
Syntax
USTRUCT&40;&41;
struct FReplicatedAgentPathData
Remarks
To replicate path following make a member variable of this class in your FReplicatedAgentBase derived class. In the FReplicatedAgentBase derived class you must also provide an accessor function FReplicatedAgentPathData& GetReplicatedPathDataMutable().
Variables
| Type | Name | Description | |
|---|---|---|---|
| EMassMovementAction | Action | Current movement action. | |
| uint16 | ActionID | ||
| double | ActionServerStartTime | Server time in seconds when the action started. | |
| FMassInt16Real | DesiredSpeed | Requested movement speed. | |
| float | DistanceAlongLane | Distance along current lane. | |
| FZoneGraphLaneHandle | LaneHandle | Handle to current lane. | |
| float | LaneLength | Cached lane length, used for clamping and testing if at end of lane. | |
| FZoneGraphShortPathRequest | PathRequest |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FReplicatedAgentPathData
(
const FMassZoneGraphPathRequestFragment& RequestFragment, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyToEntity
(
const UWorld& InWorld, |
||
| void | InitEntity
(
const UWorld& InWorld, |