GetBestDisplayImage
Given an EmergenceInventoryItemsMetaContent array, find the best image's URL. PNGs are best, then JPEGs, then GIFs. If nothing is found, returns an empty string.
Inputs
Outputs
Last updated
Given an EmergenceInventoryItemsMetaContent array, find the best image's URL. PNGs are best, then JPEGs, then GIFs. If nothing is found, returns an empty string.
Inputs
Outputs
Last updated
Type | Name | Description |
---|---|---|
Type | Description | |
---|---|---|
Type | Returns | Name | Description |
---|---|---|---|
TArray<EmergenceInventoryItemMetaContent>
Contents
The contents to analyse.
FString
return
The URL of the best image.
Static Function
FString
GetBestDisplayImage(TArray<EmergenceInventoryItemMetaContent> Contents);
Contents
(TArray<EmergenceInventoryItemMetaContent>
): The contents to analyse.