MCPcopy Create free account
hub / github.com/NotYetGames/DlgSystem / GetComplexType

Method GetComplexType

Source/DlgSystem/Private/IO/DlgConfigWriter.cpp:633–646  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

631}
632////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
633const UStruct* FDlgConfigWriter::GetComplexType(const FProperty* Property)
634{
635 if (const auto* StructProperty = FNYReflectionHelper::CastProperty<FStructProperty>(Property))
636 {
637 return StructProperty->Struct;
638 }
639
640 if (const auto* ObjectProperty = FNYReflectionHelper::CastProperty<FObjectProperty>(Property))
641 {
642 return ObjectProperty->PropertyClass;
643 }
644
645 return nullptr;
646}
647////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
648bool FDlgConfigWriter::WouldWriteNonPrimitive(const UStruct* StructDefinition, const void* Owner)
649{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected