UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Core::Private::TVariantLoadFromArchiveLookup< Ts > Struct Template Reference

#include <TVariantMeta.h>

Public Types

using VariantType = TVariant< Ts... >
 

Static Public Member Functions

static void Load (SIZE_T TypeIndex, FArchive &Ar, VariantType &OutVariant)
 

Detailed Description

template<typename... Ts>
struct UE::Core::Private::TVariantLoadFromArchiveLookup< Ts >

A utility for loading a type from FArchive based on an index into a template parameter pack.

Member Typedef Documentation

◆ VariantType

template<typename... Ts>
using UE::Core::Private::TVariantLoadFromArchiveLookup< Ts >::VariantType = TVariant<Ts...>

Member Function Documentation

◆ Load()

template<typename... Ts>
static void UE::Core::Private::TVariantLoadFromArchiveLookup< Ts >::Load ( SIZE_T  TypeIndex,
FArchive Ar,
VariantType OutVariant 
)
inlinestatic

Load the type at the specified index from the FArchive and emplace it into the TVariant


The documentation for this struct was generated from the following file: