How to subclass and then use UGameEngine?

This doesn’t work quite the same - Init and PreExit are called with regards to the lifetime of the editor rather than the game. It does look like there are callbacks that give you equivalent functionality though (look for PlayInEditor).

The one caveat to get it to compile was to add #include “UnrealEd.h” in my .h file.