FVariantDataConverter::FPropertyToVariantData

Convert a single [FProperty](API\Runtime\CoreUObject\UObject\FProperty) to an [FVariantData](API\Plugins\OnlineSubsystem\FVariantData)

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineKeyValuePair.h

Include

#include "OnlineKeyValuePair.h"

Source

/Engine/Plugins/Online/OnlineSubsystem/Source/Private/OnlineKeyValuePair.cpp

Syntax

static bool FPropertyToVariantData
(
    FProperty * Property,
    const void * Value,
    int64 CheckFlags,
    int64 SkipFlags,
    FVariantData & OutVariantData
)

Remarks

Convert a single FProperty to an FVariantData

Returns

true if it was successful, false otherwise

Parameters

Parameter

Description

Property

definition of the property

Value

actual property data

CheckFlags

property must have this flag to be serialized

SkipFlags

property cannot have this flag to be serialized

OutVariantData

container for outgoing data

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss