Hey there
Sorry I’m not the one for c++ unfortunatley but i did come across this threadL
C++ equivalent to “expose on spawn” - Programming & Scripting / Blueprint - Epic Developer Community Forums (unrealengine.com)
Not sure if it helps!
Stewart