Skip to content

UDictPointBlueprintLibrary

Blueprint oriented helper functions for creating & inspecting Dict Point InstancedStructs.

This library provides utility functions for creating and manipulating Dictionary Point instances from within Blueprints. These return TInstancedStruct<FDictPoint>.

class UDictPointBlueprintLibrary : public UBlueprintFunctionLibrary

Methods

MapToDictPoint

static TInstancedStruct<FDictPoint>
MapToDictPoint(const TMap<FString, FInstancedStruct> &InPoints)

Converts a map to a dictionary point.

Parameters

  • InPoints (const TMap<FString, FInstancedStruct>)

DictPointToMap

static TMap<FString, FInstancedStruct>
DictPointToMap(const TInstancedStruct<FDictPoint> &InDictPoint)

Converts a dictionary point to a map of sub-points.

Parameters

  • InDictPoint (const TInstancedStruct<FDictPoint>)

DictPoint_Add

static bool DictPoint_Add(TInstancedStruct<FDictPoint> &InOutDictPoint,
const FString &InKey, const FInstancedStruct &InValue)

Adds or updates a sub-point inside a dictionary point.

Parameters

  • InOutDictPoint (TInstancedStruct<FDictPoint>)

  • InKey (const FString)

  • InValue (const FInstancedStruct)


DictPoint_Find

static bool DictPoint_Find(TInstancedStruct<FDictPoint> &InDictPoint,
const FString &InKey, FInstancedStruct &OutValue)

Finds a sub-point in a dictionary point by key.

Parameters

  • InDictPoint (TInstancedStruct<FDictPoint>)

  • InKey (const FString)

  • OutValue (FInstancedStruct)


DictPoint_Contains

static bool DictPoint_Contains(const TInstancedStruct<FDictPoint> &InDictPoint,
const FString &InKey)

Checks if a dictionary point contains a specific key.

Parameters

  • InDictPoint (const TInstancedStruct<FDictPoint>)

  • InKey (const FString)


DictPoint_Remove

static bool DictPoint_Remove(TInstancedStruct<FDictPoint> &InOutDictPoint,
const FString &InKey)

Removes a sub-point from a dictionary point by key.

Parameters

  • InOutDictPoint (TInstancedStruct<FDictPoint>)

  • InKey (const FString)


DictPoint_Length

static int32 DictPoint_Length(const TInstancedStruct<FDictPoint> &InDictPoint)

Gets the number of entries in a dictionary point.

Parameters

  • InDictPoint (const TInstancedStruct<FDictPoint>)

DictPoint_Clear

static void DictPoint_Clear(TInstancedStruct<FDictPoint> &InOutDictPoint)

Removes all entries from a dictionary point.

Parameters

  • InOutDictPoint (TInstancedStruct<FDictPoint>)

DictPoint_Keys

static void DictPoint_Keys(const TInstancedStruct<FDictPoint> &InDictPoint,
TArray<FString> &OutKeys)

Gets all keys from a dictionary point.

Parameters

  • InDictPoint (const TInstancedStruct<FDictPoint>)

  • OutKeys (TArray<FString>)


DictPoint_Values

static void DictPoint_Values(const TInstancedStruct<FDictPoint> &InDictPoint,
TArray<FInstancedStruct> &OutValues)

Gets all values from a dictionary point.

Parameters

  • InDictPoint (const TInstancedStruct<FDictPoint>)

  • OutValues (TArray<FInstancedStruct>)

Source: Source/Schola/Public/Points/Blueprint/DictPointBlueprintLibrary.h