Cosmos by Leartes: All products 50% off

Wildcards Map

Sergio Lena - Code Plugins - Dec 23, 2021

A TMap with a wildcard input and output can store every type of data to retrieve it trough gameplaytag

  • Supported Platforms
  • Supported Engine Versions
    4.27, 5.0 - 5.1
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

A TMap with a wildcard input and output can store every type of data to retrieve it trough gameplaytag 

Technical Details

Features:

  •  it gives the possibility to have a generic TMap that accept every type of data in blueprint.

Code Modules: "WildcardMap", "Type": "Runtime"


Number of Blueprints: 0

Number of C++ Classes: 2

Network Replicated: (Yes/No) No

Supported Development Platforms: Win32, Win64, HoloLens, Mac, XboxOne, PS4, IOS, Android, HTML5, Linux, TVOS, Switch

Supported Target Build Platforms: 4.20+

Documentation: https://github.com/sergio2692/WildcardMap/blob/main/README.md

Important/Additional Notes:

The functionality is pretty the same as a standard TMap so it's pretty easy to understand how to use it, but please note that a Map of this type doesn't store the element and it contains void pointers not recognized from the garbage collector, so if the last reference of the uproperty is inside this map then will be garbage collected. Use it to get references through blueprint without casting and to make easy passing generic data through objects.