![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NetResult.h>
Inheritance diagram for UE::Net::TNetResult< ResultEnum >:Public Types | |
| using | UnderlyingResultType = __underlying_type(ResultEnum) |
Generic result struct for Network Results (e.g. Close and failures) - partially adapted from FOnlineError/FResult. ResultEnum must have LexToString implemented, and DECLARE_NETRESULT_ENUM(ResultEnum) must be declared for each enum type.
NOTE: Support for using results to modify control flow, depends on how they are implemented in the netcode.
| using UE::Net::TNetResult< ResultEnum >::UnderlyingResultType = __underlying_type(ResultEnum) |
|
inline |
Default constructor
| InResult | The type of result |
|
inline |
Main constructor, specifying full result (usually error)
| InResult | The type of result |
| InErrorContext | Additional context associated with error results (to be interpreted by code) |
|
inline |
|
inline |
|
inline |
Determines whether the specified result is contained within this result chain NOTE: Also checks against the error code
| A | The result to search for |
|
inline |
|
inline |
Operators
|
inline |
Convert result to human readable string (ExportText style)
| ConversionType | The type of string conversion to perform (e.g. whether or not to include the whole chain of results) |
|
inline |
Accessors