Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore
Interface base class for all module network serialization
| Name | FModuleNetData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/SimModule/SimulationModuleBase.h |
| Include Path | #include "SimModule/SimulationModuleBase.h" |
Syntax
struct FModuleNetData :
public Chaos::FSimulationModuleTypeContainer ,
public Chaos::TSimulationModuleTypeableBase< FModuleNetData >
Inheritance Hierarchy
- FSimulationModuleTypeContainer → FModuleNetData
- TSimulationModuleTypeableBase → FModuleNetData
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FModuleNetData
(
int InSimArrayIndex, |
SimModule/SimulationModuleBase.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FModuleNetData() |
SimModule/SimulationModuleBase.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DebugString | FString | SimModule/SimulationModuleBase.h | ||
| SimArrayIndex | int | SimModule/SimulationModuleBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FillNetState
(
const ISimulationModuleBase* SimModule |
SimModule/SimulationModuleBase.h | ||
void FillSimState
(
ISimulationModuleBase* SimModule |
SimModule/SimulationModuleBase.h | ||
void Lerp
(
const float LerpFactor, |
SimModule/SimulationModuleBase.h | ||
void Serialize
(
FArchive& Ar |
SimModule/SimulationModuleBase.h | ||
FString ToString() |
SimModule/SimulationModuleBase.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyDefaultState() |
Set the states data to default values, called during deserialization if IsDefaultState() was true during serialization | SimModule/SimulationModuleBase.h | |
virtual void DeltaSerialize
(
FArchive& Ar, |
SimModule/SimulationModuleBase.h | ||
virtual void DeltaSerializeWithStash
(
FArchive& Ar, |
SimModule/SimulationModuleBase.h | ||
virtual bool IsDefaultState () |
Return true if the current state of this module is the default state, If the state is default it will not be sent over the network, instead ApplyDefaultState() will be called on the receiving end to apply the default state for this module. | SimModule/SimulationModuleBase.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName CHAOSTYPENAMERETRIVAL() |
SimModule/SimulationModuleBase.h |