I have a UObject (a photon client) variable in my Gameinstance which handles joining lobbies/Rooms etc. Is there any way I can generate events from C++ which I can catch in a level blueprint ? Right now I am just setting flags for events on the c++ side and processing these in the Tick event which works but is obviously not clean.
Previously the photon client was blue print class so I could handle the custom events within its blueprint but I made this a UObject and attached it to a game instance since I wanted it to exist throughout the session across level loads . Any help will be greatly appreciated.