Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FScriptMapHelper
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
int32 FindMapIndexWithKey
&40;
const void &42; PairWithKeyToFind,
int32 IndexHint
&41; 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. |