This commit is contained in:
julee 2024-10-07 16:32:07 +02:00 committed by GitHub
commit 4bea65c81f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ static FString PropSizeTypeToString(EPropSize PropSizeType)
{ {
return FString("unknown"); return FString("unknown");
} }
return ptr->GetNameStringByIndex(static_cast<int32>(PropSizeType)); return ptr->GetNameStringByValue(static_cast<int32>(PropSizeType));
} }
static EPropSize StringToPropSizeType(FString PropSize) static EPropSize StringToPropSizeType(FString PropSize)

View File

@ -26,5 +26,5 @@ FString CityMapMeshTag::ToString(ECityMapMeshTag Tag)
const UEnum* ptr = FindObject<UEnum>(ANY_PACKAGE, TEXT("ECityMapMeshTag"), true); const UEnum* ptr = FindObject<UEnum>(ANY_PACKAGE, TEXT("ECityMapMeshTag"), true);
if(!ptr) if(!ptr)
return FString("Invalid"); return FString("Invalid");
return ptr->GetNameStringByIndex(static_cast<int32>(Tag)); return ptr->GetNameStringByValue(static_cast<int32>(Tag));
} }

View File

@ -57,7 +57,7 @@ FString QualityLevelToString(EQualityLevel QualitySettingsLevel)
{ {
return FString("Invalid"); return FString("Invalid");
} }
return ptr->GetNameStringByIndex(static_cast<int32>(QualitySettingsLevel)); return ptr->GetNameStringByValue(static_cast<int32>(QualitySettingsLevel));
} }
static void LoadSettingsFromConfig( static void LoadSettingsFromConfig(