Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore
Holds the outer hierarchy of all objects registered in any stream. Updates the hierarchy when a relevant event changing stream content happens.
| Name | FReplicatedObjectHierarchyCache |
| Type | class |
| Header File | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/Replication/Misc/ReplicatedObjectHierarchyCache.h |
| Include Path | #include "Replication/Misc/ReplicatedObjectHierarchyCache.h" |
Syntax
class FReplicatedObjectHierarchyCache : private UE::ConcertSyncCore::FObjectPathHierarchy
Inheritance Hierarchy
- FNoncopyable → FObjectPathHierarchy → FReplicatedObjectHierarchyCache
Structs
| Name | Remarks |
|---|---|
| FObjectMetaData | |
| FStreamReferencer |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ObjectMetaData | TMap< FSoftObjectPath, FObjectMetaData > | Replication/Misc/ReplicatedObjectHierarchyCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Clear() |
Removes all saved state. | Replication/Misc/ReplicatedObjectHierarchyCache.h | |
bool HasChildren
(
const FSoftObjectPath& Object |
Replication/Misc/ReplicatedObjectHierarchyCache.h | ||
bool IsEmpty() |
Checks there is an hierarchy. | Replication/Misc/ReplicatedObjectHierarchyCache.h | |
TOptional< EHierarchyObjectType > IsInHierarchy
(
const FSoftObjectPath& Object |
Replication/Misc/ReplicatedObjectHierarchyCache.h | ||
bool IsObjectReferencedDirectly
(
const FSoftObjectPath& ObjectPath, |
Checks whether the object is registered by any client (except for this in IgnoredClients). | Replication/Misc/ReplicatedObjectHierarchyCache.h | |
void OnChangeStreams
(
const FGuid& ClientId, |
Replication/Misc/ReplicatedObjectHierarchyCache.h | ||
void OnJoin
(
const FGuid& ClientId, |
Validated network events that modify the known hierarchy of objects. | Replication/Misc/ReplicatedObjectHierarchyCache.h | |
void OnPostClientLeft
(
const FGuid& ClientId, |
Replication/Misc/ReplicatedObjectHierarchyCache.h | ||
void TraverseBottomToTop
(
TFunctionRef< EBreakBehavior(const FChildRelation&Relation)> Callback, |
Traverses the hierarchy in post-order (children first, then the root), starting at an optional parent object. | Replication/Misc/ReplicatedObjectHierarchyCache.h | |
void TraverseTopToBottom
(
TFunctionRef< ETreeTraversalBehavior(const FChildRelation&Relation)> Callback, |
AddObject and RemoveObject are not supposed to be invoked - use the dedicated OnX events below. | Replication/Misc/ReplicatedObjectHierarchyCache.h |