Navigation
API > API/Runtime > API/Runtime/NetCore > API/Runtime/NetCore/UStatePerObjectConfig
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RegisterStateConfig
(
const TArray< FString >& StateNames, |
Registers an array of state names to an array of state instances (of a type derived from FStateStruct). | Net/Core/Connection/StateStruct.h | |
void RegisterStateConfig
(
const TArray< FString >& StateNames, |
Net/Core/Connection/StateStruct.h |
RegisterStateConfig(const TArray< FString > &, TArray< TStructOnScope< U > > &)
Description
Registers an array of state names to an array of state instances (of a type derived from FStateStruct). Should be called during LoadStateConfig in subclasses.
| Name | RegisterStateConfig |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Core/Public/Net/Core/Connection/StateStruct.h |
| Include Path | #include "Net/Core/Connection/StateStruct.h" |
template<typename U, typename>
void RegisterStateConfig
(
const TArray < FString > & StateNames,
TArray < TStructOnScope < U > > & OutStates
)
Parameters
| Name | Remarks |
|---|---|
| StateNames | The (usually configurable) array of state names defining the state instances to be created |
| OutStates | The array of state instances to be initialized based on StateNames |
RegisterStateConfig(const TArray< FString > &, TArray< TStructOnScope< FStateStruct > > &)
| Name | RegisterStateConfig |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Core/Public/Net/Core/Connection/StateStruct.h |
| Include Path | #include "Net/Core/Connection/StateStruct.h" |
| Source | /Engine/Source/Runtime/Net/Core/Private/Net/Core/Connection/StateStruct.cpp |
void RegisterStateConfig
(
const TArray < FString > & StateNames,
TArray < TStructOnScope < FStateStruct > > & OutStates
)