Core Redirects of C++ Classes API like LYRAGAME_API

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;)

Ruslan

When you’re moving stuff across modules you can specify the full path of the class with the module:

+ClassRedirects=(OldName="/Script/LyraGame.LyraUIClass",NewName="/Script/MyGame.MyGameUI")

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.