Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > FScriptMapHelper
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
Include | #include "UObject/UnrealType.h" |
int32 FindMapIndexWithKey
(
const void * PairWithKeyToFind,
int32 IndexHint
) const
Remarks
Finds the index of an element in a map which matches the key in another pair. The index of an element found in MapHelper, or -1 if none was found.
Parameters
Name | Description |
---|---|
PairWithKeyToFind | The address of a map pair which contains the key to search for. |
IndexHint | The index to start searching from. |