Navigation
API > API/Runtime > API/Runtime/Engine
Replicated state of the destructible HLOD.
| Name | FWorldPartitionDestructibleHLODState |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/HLOD/DestructibleHLODComponent.h |
| Include Path | #include "WorldPartition/HLOD/DestructibleHLODComponent.h" |
Syntax
USTRUCT ()
struct FWorldPartitionDestructibleHLODState : public FFastArraySerializer
Inheritance Hierarchy
- FFastArraySerializer → FWorldPartitionDestructibleHLODState
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorsToDamagedActorsMapping | TArray< int32 > | Server only, map of actors indices to their damage info in the DamagedActors array. | WorldPartition/HLOD/DestructibleHLODComponent.h | |
| bIsClient | bool | WorldPartition/HLOD/DestructibleHLODComponent.h | ||
| bIsServer | bool | WorldPartition/HLOD/DestructibleHLODComponent.h | ||
| DamagedActors | TArray< FWorldPartitionDestructibleHLODDamagedActorState > | WorldPartition/HLOD/DestructibleHLODComponent.h | ||
| NumDestructibleActors | int32 | WorldPartition/HLOD/DestructibleHLODComponent.h | ||
| OwnerComponent | TObjectPtr< UWorldPartitionDestructibleHLODComponent > | WorldPartition/HLOD/DestructibleHLODComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize
(
UWorldPartitionDestructibleHLODComponent* InDestructibleHLODComponent |
WorldPartition/HLOD/DestructibleHLODComponent.h | ||
const bool IsClient() |
WorldPartition/HLOD/DestructibleHLODComponent.h | ||
const bool IsServer() |
WorldPartition/HLOD/DestructibleHLODComponent.h | ||
bool NetDeltaSerialize
(
FNetDeltaSerializeInfo& DeltaParms |
WorldPartition/HLOD/DestructibleHLODComponent.h | ||
void PostReplicatedAdd
(
const TArrayView< int32 >& AddedIndices, |
~ FFastArraySerializer Contract Begin | WorldPartition/HLOD/DestructibleHLODComponent.h | |
void PostReplicatedChange
(
const TArrayView< int32 >& ChangedIndices, |
WorldPartition/HLOD/DestructibleHLODComponent.h | ||
void SetActorHealth
(
int32 InActorIndex, |
WorldPartition/HLOD/DestructibleHLODComponent.h |