Hi Nowherebrain,
the add function is declared in c++ as follows:
DLLFUNC void addToGSHashmap(char* key, var value)
So you can add everything to the hashmap that fits into a var.
I use it to store pointers to my struct objects into my hashmap, but
you could also store pointers to entities or whatever.
Hope this helps.
Best regards,
Pegamode