Advanced Sessions Plugin

[quote=“Altrue, post:1873, topic:30020”]

Thanks a lot for this plugin, OP! Also thanks for keeping it up to date all this time :slight_smile:
However, the code is unusable in C++ as-is. You might be interested to know that for it to work, we need to remove the MinimalAPI class and interface specifier, as well as add PLUGINNAME_API before all classes and interfaces declarations.

That is because there is little to no reason to use it in c++. Literally its only purpose is to expose native c++ functions that already exist to BP.

Not only can all of it be done far cleaner in c++ only (like the FVariantData BP hack), but also you shouldn’t be using the Async blueprint nodes for c++ either.

You would be far better off following a good c++ sessions tutorial instead and/or ripping examples out.

I would go as far as to say that you are doing yourself a disservice trying to use the plugin in c++.