UBlueprintMapLibrary

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintMapLibrary.h

Include

#include "Kismet/BlueprintMapLibrary.h"

Syntax

class UBlueprintMapLibrary : public UBlueprintFunctionLibrary

Functions

Name Description

Public function Static

void

 

GenericMap_Add

(
    const void* TargetMap,
    const FMapProperty* MapPropert...,
    const void* KeyPtr,
    const void* ValuePtr
)

Public function Static

void

 

GenericMap_Clear

(
    const void* TargetMap,
    const FMapProperty* MapPropert...
)

Public function Static

bool

 

GenericMap_Find

(
    const void* TargetMap,
    const FMapProperty* MapPropert...,
    const void* KeyPtr,
    void* ValuePtr
)

Public function Static

bool

 

GenericMap_IsEmpty

(
    const void* TargetMap,
    const FMapProperty* MapPropert...
)

Public function Static

bool

 

GenericMap_IsNotEmpty

(
    const void* TargetMap,
    const FMapProperty* MapPropert...
)

Public function Static

void

 

GenericMap_Keys

(
    const void* MapAddr,
    const FMapProperty* MapPropert...,
    const void* ArrayAddr,
    const FArrayProperty* ArrayPro...
)

Public function Static

int32

 

GenericMap_Length

(
    const void* TargetMap,
    const FMapProperty* MapPropert...
)

Public function Static

bool

 

GenericMap_Remove

(
    const void* TargetMap,
    const FMapProperty* MapPropert...,
    const void* KeyPtr
)

Public function Static

void

 

GenericMap_SetMapPropertyByName

(
    UObject* OwnerObject,
    FName MapPropertyName,
    const void* SrcMapAddr
)

Public function Static

void

 

GenericMap_Values

(
    const void* MapAddr,
    const FMapProperty* MapPropert...,
    const void* ArrayAddr,
    const FArrayProperty* ArrayPro...
)

Public function Static

void

 

Map_Add

(
    const TMap< int32, int32 >& Target...,
    const int32& Key,
    const int32& Value
)

Adds a key and value to the map.

Public function Static

void

 

Map_Clear

(
    const TMap< int32, int32 >& Target...
)

Clears a map of all entries, resetting it to empty

Public function Static

bool

 

Map_Contains

(
    const TMap< int32, int32 >& Target...,
    const int32& Key
)

Checks whether key is in a provided Map

Public function Static

bool

 

Map_Find

(
    const TMap< int32, int32 >& Target...,
    const int32& Key,
    int32& Value
)

Finds the value associated with the provided Key

Public function Static

bool

 

Map_IsEmpty

(
    const TMap< int32, int32 >& Target...
)

Check if the map does not have any entires

Public function Static

bool

 

Map_IsNotEmpty

(
    const TMap< int32, int32 >& Target...
)

Check if the map has any entries

Public function Static

void

 

Map_Keys

(
    const TMap< int32, int32 >& Target...,
    TArray< int32 >& Keys
)

Outputs an array of all keys present in the map

Public function Static

int32

 

Map_Length

(
    const TMap< int32, int32 >& Target...
)

Determines the number of entries in a provided Map

Public function Static

bool

 

Map_Remove

(
    const TMap< int32, int32 >& Target...,
    const int32& Key
)

Removes a key and its associated value from the map.

Public function Static

void

 

Map_Values

(
    const TMap< int32, int32 >& Target...,
    TArray< int32 >& Values
)

Outputs an array of all values present in the map

Public function Static

void

 

SetMapPropertyByName

(
    UObject* Object,
    FName PropertyName,
    const TMap< int32, int32 >& Value
)

Not exposed to users. Supports setting a map property on an object by name.