| 289 | } |
| 290 | |
| 291 | FString GetTypeName(const UObject* Field) |
| 292 | { |
| 293 | if (!Field) |
| 294 | return ""; |
| 295 | if (!Field->IsNative() && Field->GetName().EndsWith("_C")) |
| 296 | return Field->GetName(); |
| 297 | const UStruct* Struct = Cast<UStruct>(Field); |
| 298 | if (Struct) |
| 299 | return Struct->GetPrefixCPP() + Struct->GetName(); |
| 300 | return Field->GetName(); |
| 301 | } |
| 302 | |
| 303 | FString GetTypeName(const FProperty* Property) |
| 304 | { |