Navigation
API > API/Plugins > API/Plugins/GameFeatures > API/Plugins/GameFeatures/FResult
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FResult () |
No default constructor as we want to force you to always specify at the minimum if the FResult is an error or not through a supplied FErrorCodeType | GameFeaturePluginOperationResult.h | |
FResult
(
FErrorCodeType ErrorCodeIn |
Explicit constructor for times we want to create an FResult directly from an FErrorCodeType and not through MakeValue or MakeError. | GameFeaturePluginOperationResult.h | |
FResult
(
TValueOrError_ValueProxy< ArgTypes... >&& ValueProxyIn |
Template Conversion Constructor to allow us to initialize from TValueOrError MakeValue This is needed because of how TValueOrError implements MakeValue through the same templated approach with TValueOrError_ValueProxy. | GameFeaturePluginOperationResult.h | |
FResult
(
TValueOrError_ErrorProxy< ArgTypes... >&& ErrorProxyIn |
Template Conversion Constructor to allow us to initialize from TValueOrError MakeError This is needed because of how TValueOrError implements MakeError through the same templated approach with TValueOrError_ErrorProxy. | GameFeaturePluginOperationResult.h | |
| GameFeaturePluginOperationResult.h |
FResult()
Description
No default constructor as we want to force you to always specify at the minimum if the FResult is an error or not through a supplied FErrorCodeType
| Name | FResult |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeaturePluginOperationResult.h |
| Include Path | #include "GameFeaturePluginOperationResult.h" |
FResult()
FResult(FErrorCodeType)
Description
Explicit constructor for times we want to create an FResult directly from an FErrorCodeType and not through MakeValue or MakeError. Explicit to avoid any confusion with the following templated constructors.
| Name | FResult |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeaturePluginOperationResult.h |
| Include Path | #include "GameFeaturePluginOperationResult.h" |
| Source | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Private/GameFeaturePluginOperationResult.cpp |
FResult
(
FErrorCodeType ErrorCodeIn
)
FResult(TValueOrError_ValueProxy< ArgTypes... > &&)
Description
Template Conversion Constructor to allow us to initialize from TValueOrError MakeValue This is needed because of how TValueOrError implements MakeValue through the same templated approach with TValueOrError_ValueProxy.
| Name | FResult |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeaturePluginOperationResult.h |
| Include Path | #include "GameFeaturePluginOperationResult.h" |
template<typename... ArgTypes>
FResult
(
TValueOrError_ValueProxy < ArgTypes... > && ValueProxyIn
)
FResult(TValueOrError_ErrorProxy< ArgTypes... > &&)
Description
Template Conversion Constructor to allow us to initialize from TValueOrError MakeError This is needed because of how TValueOrError implements MakeError through the same templated approach with TValueOrError_ErrorProxy.
| Name | FResult |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeaturePluginOperationResult.h |
| Include Path | #include "GameFeaturePluginOperationResult.h" |
template<typename... ArgTypes>
FResult
(
TValueOrError_ErrorProxy < ArgTypes... > && ErrorProxyIn
)
FResult(FErrorCodeType, FText)
| Name | FResult |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeaturePluginOperationResult.h |
| Include Path | #include "GameFeaturePluginOperationResult.h" |
| Source | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Private/GameFeaturePluginOperationResult.cpp |
FResult
(
FErrorCodeType ErrorCodeIn,
FText ErrorTextIn
)