Navigation
API > API/Plugins > API/Plugins/GameFeatures
References
| Module | GameFeatures |
| Header | /Engine/Plugins/Experimental/GameFeatures/Source/GameFeatures/Public/GameFeaturePluginOperationResult.h |
| Include | #include "GameFeaturePluginOperationResult.h" |
Syntax
struct FResult
Remarks
Struct wrapper on a combined TValueOrError ErrorCode and FText OptionalErrorText that can provide an FString error code and if set more detailed FText OptionalErrorText information for the results of a GameFeaturesPlugin operation.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FErrorCodeType | ErrorCode | Error Code representing the error that occurred | |
| FText | OptionalErrorText | Optional Localized error description to bubble up to the user if one was generated |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FResult
(
FErrorCodeType ErrorCodeIn |
Explicit constructor for times we want to create an FResult directly from an FErrorCodeType and not through MakeValue or MakeError. | ||
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. | ||
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. | ||
FResult
(
FErrorCodeType ErrorCodeIn, |