Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UBlueprintMapLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintMapLibrary.h |
Include | #include "Kismet/BlueprintMapLibrary.h" |
static void Map_Add
&40;
const TMap< int32, int32 > & TargetMap,
const int32 & Key,
const int32 & Value
&41;
Remarks
Adds a key and value to the map. If something already uses the provided key it will be overwritten with the new value. After calling Key is guaranteed to be associated with Value until a subsequent mutation of the Map.
Parameters
Name | Description |
---|---|
TargetMap | The map to add the key and value to |
Key | The key that will be used to look the value up |
Value | The value to be retrieved later |