Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementReplication.h |
Include |
#include "GameFramework/CharacterMovementReplication.h" |
struct FCharacterNetworkMoveData
FCharacterNetworkMoveData encapsulates a client move that is sent to the server for UCharacterMovementComponent networking.
Adding custom data to the network move is accomplished by deriving from this struct, adding new data members, implementing ClientFillNetworkMoveData(), implementing Serialize(), and setting up the UCharacterMovementComponent to use an instance of a custom FCharacterNetworkMoveDataContainer (see that struct for more details).
Name | Description | ||
---|---|---|---|
|
Acceleration |
||
|
CompressedMoveFlags |
||
|
ControlRotation |
||
|
Location |
||
|
MovementBase |
||
|
MovementBaseBoneName |
||
|
MovementMode |
||
|
NetworkMoveType |
Indicates whether this was the latest new move, a pending/dual move, or old important move. |
|
|
float |
TimeStamp |
Name | Description | |
---|---|---|
|
FCharacterNetworkMoveData() |
Name | Description | |
---|---|---|
|
~FCharacterNetworkMoveData() |
Name | Description | ||
---|---|---|---|
|
ClientFillNetworkMoveData ( |
Given a FSavedMove_Character from UCharacterMovementComponent, fill in data in this struct with relevant movement data. |
|
|
Serialize ( |
Serialize the data in this struct to or from the given FArchive. |
Name |
Description |
|
---|---|---|
|
ENetworkMoveType |