I want to use ULevelStreaming class in my gameplay module, but it is not exported in the Engine dll. ULevelStreaming uses MinimalAPI class specifier, so it isn’t exported. I am trying to expose portions of ULevelStreaming class using the RequiredAPI function specifier, as noted in this documentation:
Figured out the answer. You can specify ENGINE_API (or _API) in front of functions as well if you haven’t specified it in front of the class definition. So I just added ENGINE_API in front of the functions I wanted exported in the dll. RequiredAPI is only used once in the codebase from what I can tell, maybe it is deprecated now? In anycase, the headtool doesn’t recognize it for me in 4.6