iniside
(iniside)
1
So I want to cache off some function within TMap, for quicker lookups. But I need some way to filter out functions, that I don’t need.
I guess best way to do it, would be to add some custom meta data flag, into UFUNCTION(meta=()).
But How do I do declare custom meta data ?
Marc_Audy
(Marc_Audy)
2
Metadata is just that, there is no pre-declaring it. Simply add it in to the declaration.
To check whether it is present you would need to call GetMetadata or HasMetadata on the UFunction
iniside
(iniside)
3
Thanks.
I accidently figured it out, when I had put random characters in meta=() and it complied. It was to simple :D.