How to create in C++ Core Redirects of C++ classes from one API to another API. If you declare UE Class you specify api. I want to change it using core redirects to use Lyra C++ Classes and blueprints without rewriting any blueprint because of another API (LyraGame_API) as my c++ module class and API.
Can someone explain how to change API using Core Redirects or maybe some C++ solution which makes it possible??
Please help me to integrate Lyra UI classes in my own game;)
Where LyraGame is the name of the old module, LyraUIClass is the class name in that module, MyGame is the new module and MyGameUI is the class name in that module. /Script/ is used for native classes to create a path similar content paths.
Omit an U or A prefix from the class name in the redirector.
core redirects only remap the class path, they cannot change the _api macro
the macro is generated per module at compile time, so the class keeps the api of the module that builds it
to use the lyra ui classes add the lyra module to your build.cs dependencies and reference the classes as they are