TMultiMap not allowed as a UPROPERTY
I have been developing a hex map for my game and I'd like to be able to store the map as a Multimap so that I can access it through offset and cubic coordinates.However, when I tried to define it as a UPROPERTY, the UE4 side of Visual Studio throws out an error saying "Unrecognized Type 'TMultiMap' - type must be a UCLASS, USTRUCT, UENUM'.
I tried playing with it a bit, and UE4 has no problem allowing TArrays and TMaps as UPROPERTY, but TMultiMap is not allowed. Is there some kind of inner limitation with how the reflection system is designed that prevents me from making a TMultiMap UPROPERTY or is this a bug?
asked Apr 13 '17 at 01:49 AM in C++ Programming
Not really a bug, more of a missing feature. Until 4.15 only TArray was supported in Blueprints. In 4.15 they added TMap and TSet, but no TMultiMap yet.
answered Apr 13 '17 at 02:16 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here