Agrarsense
Public Member Functions | Public Attributes | List of all members
UActorAssetGroupCollectionDataAsset Class Reference

#include <ActorAssetGroupCollectionDataAsset.h>

Inheritance diagram for UActorAssetGroupCollectionDataAsset:
Inheritance graph
[legend]
Collaboration diagram for UActorAssetGroupCollectionDataAsset:
Collaboration graph
[legend]

Public Member Functions

UActorAssetGroupDataAssetFindByUniqueIdentifier (const FString &UniqueIdentifier, bool &Found)
 

Public Attributes

TArray< UActorAssetGroupDataAsset * > AssetGroups
 

Detailed Description

Definition at line 17 of file ActorAssetGroupCollectionDataAsset.h.

Member Function Documentation

◆ FindByUniqueIdentifier()

UActorAssetGroupDataAsset * UActorAssetGroupCollectionDataAsset::FindByUniqueIdentifier ( const FString &  UniqueIdentifier,
bool &  Found 
)
inline

Find group data asset by unique identifier. If not the returned value will be nullptr.

Parameters
UniqueIdentifierUnique identifier to match to
FoundWas the data asset found
Returns
Found asset

Definition at line 34 of file ActorAssetGroupCollectionDataAsset.h.

35 {
36 for (const auto& GroupAsset : AssetGroups)
37 {
38 if (GroupAsset->UniqueIdentifier == UniqueIdentifier)
39 {
40 Found = true;
41 return GroupAsset;
42 }
43 }
44
45 Found = false;
46
47 return nullptr;
48 }
TArray< UActorAssetGroupDataAsset * > AssetGroups

Member Data Documentation

◆ AssetGroups

TArray<UActorAssetGroupDataAsset*> UActorAssetGroupCollectionDataAsset::AssetGroups

Asset groups of this collection

Definition at line 26 of file ActorAssetGroupCollectionDataAsset.h.


The documentation for this class was generated from the following file: