Navigation
API > API/Runtime > API/Runtime/NetCore
Stores the SubObjects to replicate and the network condition dictating to which connection they can replicate to.
| Name | FSubObjectRegistry |
| Type | struct |
| Header File | /Engine/Source/Runtime/Net/Core/Public/Net/Core/Misc/NetSubObjectRegistry.h |
| Include Path | #include "Net/Core/Misc/NetSubObjectRegistry.h" |
Syntax
struct FSubObjectRegistry
Structs
| Name | Remarks |
|---|---|
| FEntry |
Enums
Public
| Name | Remarks |
|---|---|
| EResult |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Registry | TArray< FEntry > | Net/Core/Misc/NetSubObjectRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSubObjectRegistry::EResult AddSubObjectUnique
(
UObject* InSubObject, |
Adds a subobject and returns if it's a new entry or existing entry | Net/Core/Misc/NetSubObjectRegistry.h | |
void CleanRegistryIndexes
(
const TArrayView< int32 >& IndexesToClean |
Remove all the indexes specified by the passed array | Net/Core/Misc/NetSubObjectRegistry.h | |
ELifetimeCondition GetNetCondition
(
UObject* SubObject |
Find the NetCondition of a SubObject. Returns COND_MAX if not registered | Net/Core/Misc/NetSubObjectRegistry.h | |
const TArray< FSubObjectRegistry::FEntry > & GetRegistryList() |
Returns the list of registered subobjects | Net/Core/Misc/NetSubObjectRegistry.h | |
bool IsEmpty() |
Net/Core/Misc/NetSubObjectRegistry.h | ||
bool IsSubObjectInRegistry
(
const UObject* SubObject |
Returns true if the subobject is contained in this list | Net/Core/Misc/NetSubObjectRegistry.h | |
int32 Num() |
Net/Core/Misc/NetSubObjectRegistry.h | ||
bool RemoveSubObject
(
UObject* InSubObject |
Remove the subobject from the replicated list. Returns true if the subobject had been registered. | Net/Core/Misc/NetSubObjectRegistry.h |