Quantcast
Channel: General - Epic Developer Community Forums
Viewing all articles
Browse latest Browse all 7390

Please allow FGameplayTagContainer as key in TMap

$
0
0

I have tried using the following however this will not work, and result notfound even when the key is present.

FORCEINLINE uint32 GetTypeHash(const FGameplayTagContainer& TagContainer)
{
    uint32 Hash = 0;
    for (const FGameplayTag& Tag : TagContainer)
    {
        Hash = HashCombine(Hash, GetTypeHash(Tag));
    }
    return Hash;
}

3 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 7390

Trending Articles