| 646 | } |
| 647 | |
| 648 | void* FDlgConfigParser::OnInitObject(void* ValuePtr, const UClass* ChildClass, UObject* OuterInit) |
| 649 | { |
| 650 | if (ChildClass != nullptr) |
| 651 | { |
| 652 | UObject** Value = (UObject**)ValuePtr; |
| 653 | *Value = nullptr; |
| 654 | *Value = CreateNewUObject(ChildClass, OuterInit); |
| 655 | return *Value; |
| 656 | } |
| 657 | UE_LOG(LogDlgConfigParser, Warning, TEXT("OnInitValue called without class!")); |
| 658 | return nullptr; |
| 659 | } |
| 660 | |
| 661 | /** gets the UClass from an UObject or from an array of UObjects */ |
| 662 | const UClass* FDlgConfigParser::SmartGetPropertyClass(FProperty* Property, const FString& TypeName) |
nothing calls this directly
no test coverage detected